phpcs

Tokenize PHP, JavaScript and CSS files to detect violations of…

phpcs

Tokenize PHP, JavaScript and CSS files to detect violations of a defined set of coding standards. More information: https://github.com/squizlabs/PHP_CodeSniffer.

phpcs {{path/to/directory}}

phpcs -i

phpcs {{path/to/directory}} --standard {{standard}}

phpcs {{path/to/directory}} --extensions {{file_extension(s)}}

phpcs {{path/to/directory}} --report {{format}}

phpcs {{path/to/directory}} --config-set {{key}} {{value}}

phpcs {{path/to/directory}} --bootstrap {{file(s)}}

phpcs {{path/to/directory}} -l

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← phpcpd php-cs-fixer →