CodeSniffer is a rulecker for PHP and Javascript
For more details, refer to http://www.squizlabs.com/php-codesniffer.
CodeSniffer has the following options:
CodeSniffer results file (checkstyle formmated xml) (xml) Point to the XML file that contains CodeSniffer results.
The full command line syntax for CodeSniffer is:
-d "type=codesniffer,xml=[text]"