What is PHP_CodeSniffer
4.xPHP_CodeSniffer consists of two primary scripts designed to maintain code cleanliness and consistency:
phpcs: Tokenizes PHP files to detect violations of defined coding standards.phpcbf: Automatically corrects coding standard violations found byphpcs.
This package is the official continuation of the original Squizlabs PHP_CodeSniffer package.