CakePHP Code Sniffer
This code works with phpcs and checks code against the coding standards used in CakePHP.
Its generally recommended to install these code sniffs with the PEAR installer:
pear channel-discover pear.cakephp.org pear install cakephp/CakePHP_CodeSniffer
After installation you can check code compliance to the standard using
phpcs --standard=CakePHP /path/to/code