Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SaniSoft Blog:
Code sniffs for CakePHP and then some more
Jul 04, 2008 @ 14:32:00

On the SaniSoft blog Tarique Sani has posted about (and made available for download) some code sniffs for the CakePHP framework. Some problems arose with some of the naming that the framework uses, but with some "tinkering around"...

[It became] apparent that I had to have my own set of Cake sniffs to manage this but a separate standard just for this seemed an over kill and the simplicity of code made it kind of fun to add more standards which I liked but were in different set of sniffs.

You can grab the whole list of sniffs from their downloads. They implemented them as a pre-commit hook on their SVN server even so that developers could not violate the coding standards when they submit their code.

tagged: sanisoft sniff pear package phpcodesniffer svn commit hook cakephp

Link:


Trending Topics: