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

Chris Hartjes' Blog: Tutorial: Integrating PHP/SWF Charts with CakePHP

Ken Guest's Blog: The Date_Holidays package, a pack of splitters and a pear tree

Matthew Weir O'Phinney's Blog: File_Fortune refactored

Sebastian Bergmann's Blog: Integrating PHPUnit with Selenium

Richard Heyes' Blog: PEAR::DB replacement class updated


Community Events





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


version interview library voicesoftheelephpant series conference opinion tool security language release laravel community artisanfiles symfony podcast framework list introduction composer

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