CmdID

CmdID / Commands

php-cs-fixer

Automatic coding style fixer for PHP. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Execute code style fixing in the current directory

php-cs-fixer fixIdentify

Execute code style fixing for a specific directory

php-cs-fixer fix path/to/directoryIdentify

Simulate fixing code style, reporting issues without applying changes

php-cs-fixer fix --dry-runIdentify

Execute code style fixes using specific rules

php-cs-fixer fix --rules=rulesIdentify

Display the rules that have been applied

php-cs-fixer fix --verboseIdentify

Output the results in a different format

php-cs-fixer fix --format=txtIdentify

Display files that require fixing

php-cs-fixer list-filesIdentify

Describe a rule or ruleset

php-cs-fixer describe ruleIdentify