You can also use the official [code sniffer](https://github.com/cakephp/cakephp-codesniffer).