PHP_CodeSniffer standard for the symfony 1.x framework phpcs-symfony project with standard for the symfony Installation Install the standard in "Standards" PHP_CodeSniffer directory. Usually /usr/share/php/PHP/CodeSniffer/Standards directory Usage phpcs --standard=symfony <files>