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

Till's Blog: A case for PEAR and PHP4 (Or, why BC is important!)

Sebastian Bergmann's Blog: Using HipHop for Static Analysis

Christian Stocker's Blog: Upload Progress Meter finally in PECL

Hannes Magnusson's Blog: PhD: The [PH]P based [D]ocbook renderer RC1 released

PHPit.net: Creating ZIP and TAR archives on the fly with PHP


Community Events





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


laravel opinion podcast developer install unittest list introduction testing code symfony2 series language refactor release threedevsandamaybe framework community interview experience

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