rector
An automated tool for updating and refactoring PHP 5.3+ code. tldr-pages
On several platforms
Several platforms
Process a specific directory
rector process path/to/directoryIdentifySimulate processing a directory without applying changes
rector process path/to/directory --dry-runIdentifyProcess a directory and apply coding standards
rector process path/to/directory --with-styleIdentifyDisplay a list of available levels
rector levelsIdentifyProcess a directory with a specific level
rector process path/to/directory --level level_nameIdentify