Coding Standards mit PHP_CodeSniffer

Gerade habe ich das PEAR Projekt PHP_CodeSniffer entdeckt.

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.

Das Posting How to customise PHP_CodeSniffer beschreibt wie man seine eigenen Standards definieren kann.

Possibly related posts (automatically generated)