[dev] Coding standards control

duck duck at obala.net
Mon Feb 19 03:04:18 PST 2007


I don't know, if this may be interesting for horde. But as we are moving 
toward horde 4, it can be a good practice to control ourself:

http://pear.php.net/package/PHP_CodeSniffer/

PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code to 
detect violations of a defined set of coding standards. It is an 
essential development tool that ensures that your code remains clean and 
consistent. It can even help prevent some common semantic errors made by 
developers.

You can wirite your own coding standards rules.


Duck


More information about the dev mailing list