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

Sanisoft Blog: Using CakePHP without a database

Greg Beaver\'s Blog: PHP_Archive 0.7.0 is released

Builder.com.au: Get the correct time by converting between time zones with PHP and PEAR

XPertDeveloper.com: Configure PHP, Apache, MySQL on Ubuntu 11.10

Pierre-Alain Joye's Blog: Zip-1.6.0, PHP 5.2.0 and ZipCode


Community Events





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


api interview wordpress threedevsandamaybe series application code laravel bugfix release community list developer configure library podcast introduction framework install language

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