Your mention of coding standards reminded me of PHP_Codesniffer:

"Introduction
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.

A coding standard, in PHP_CodeSniffer, is a collection of sniff files. Each sniff file checks one part of the coding standard only. Multiple coding standards can be used within PHP_CodeSniffer, so that the one installation can be used across multiple projects."

http://matrix.squiz.net/developer/tools/php_cs

I wondered at the time if this would be a useful thing for ZF ...a collection of ZF "sniff" files to automate coding standard checks. Personally I've no experience with it but I'd be interested to hear if anyone has actually used it.

Nick


As we are approaching 0.2, this might be a good time to revisit the various changes to the ZF Coding Standard *draft* version in the wiki, in order to help produce a version for release along with the other docbook documentation. We also have the beginnings of a separate "best practices" section in our "Getting Started" wiki page, but those practices are more abstract and thus more subjective in nature.

http://framework.zend.com/wiki/x/PQ

Cheers,
Gavin



Reply via email to