Tuesday 17 April 2007

PHP_CodeSniffer 0.5.0 (beta) released

Version 0.5.0 of PHP_CodeSniffer was released today. The changelog is fairly long and a lot of bugs were fixed since 0.4.0, but the biggest change is the requirement of a coding standard class for all standards.

Due to the requirement of the coding standard class, version 0.5.0 breaks backwards compatibility for existing custom coding standards. All standards you have developed yourself now require the coding standard class. If this class is not found, PHP_CodeSniffer will not recognise your standard and will not allow you to test code using it.

Users with custom coding standards should view the end-user documentation about the new coding standards class and also check the coding standard tutorial for information about adding this class to your standard.