Add smartscan-mode to php files