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>.

Debian Debian
RUN apt-get update && \ apt-get install -y php-codesniffer
Ubuntu
RUN apt-get update && \ apt-get install -y php-codesniffer
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y php-codesniffer
Fedora
RUN dnf install -y php-pear-PHP-CodeSniffer
Raspbian
RUN apt-get update && \ apt-get install -y php-codesniffer
click the source code to copy install phpcs on any operating system with command-not-found.com