Monday, May 04, 2009

Checking coding standards with PHP_Codesniffer

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

I was really behind this in my previous company, i want to make sure everyone follows the coding standard, with this tool i am sure that problem is solved.

You can also define your own coding standard, it can be integrated with Subversion.

More detailed information with installation and example can be found here.

No comments: