News Feed
Sections




News Archive
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
July 04, 2008 @ 09: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.

0 comments voice your opinion now!
sanisoft sniff pear package phpcodesniffer svn commit hook cakephp


blog comments powered by Disqus

Similar Posts

Greg Beaver's Blog: Statistics are back up for pear.php.net

IBM developerWorks: Paint 3-D images with PHP

Felix Geisendörfer's Blog: Welcome to the Dark Side of Plugins in CakePHP

Matthew Weir O'Phinney's Blog: File_Fortune refactored

SaniSoft Blog: The prefix automagic in CakePHP routing


Community Events

Don't see your event here?
Let us know!


conference psr7 introduction laravel5 voicesoftheelephpant extension unittest release framework video interview opinion development language community laravel series api library podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework