Refactor PHP files.