phpcs

Tokenize PHP, JavaScript and CSS files to detect violations of a defined set of coding standards.
More information.
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
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY