php-cs-fixer
Automatic coding style fixer for PHP. tldr-pages
On several platforms
Several platforms
Execute code style fixing in the current directory
php-cs-fixer fixIdentifyExecute code style fixing for a specific directory
php-cs-fixer fix path/to/directoryIdentifySimulate fixing code style, reporting issues without applying changes
php-cs-fixer fix --dry-runIdentifyExecute code style fixes using specific rules
php-cs-fixer fix --rules=rulesIdentifyDisplay the rules that have been applied
php-cs-fixer fix --verboseIdentifyOutput the results in a different format
php-cs-fixer fix --format=txtIdentifyDisplay files that require fixing
php-cs-fixer list-filesIdentifyDescribe a rule or ruleset
php-cs-fixer describe ruleIdentify