Squiz Labs Blog - The latest news from the R&D division of Squiz®

Subscribe to our RSS feeds

PHP_CodeSniffer 1.4.0 released

PHP_CodeSniffer version 1.4.0 has just been uploaded to PEAR and is now available to install. This release includes two new coding standards; PSR-1 and PSR-2.

A lot of effort has gone into compiling these standards from existing sniffs, writing new sniffs, and making core changes to PHP_CodeSniffer to support new features that they require. I think they are a good representation of the written standards and another couple of great generic coding standards that you may choose to adopt in your own projects.

Special thanks to the 3 developers who directly contributed code to this branch. Your help is always very much appreciated.

I'd like to also thank everyone who tested the PSR-1 and PSR-2 standards as they were being developed over the last couple of months, and those developers who helped me on the PHP-FIG mailing list as I tried to decipher them. Your bug reports, pull requests and general feedback were always helpful.

But a lot more testing of these new standards needs to be done, so please keep the feedback coming through.

Apart from the new standards, version 1.4.0 contains a couple of other nice changes, including a new notify-send report and the ability to explain a standard. You can view the full changelog on the PHP_CodeSniffer download page.

Stay up to date on all PHP_CodeSniffer changes, including new features and releases, by subscribing to the RSS feed or following me on Twitter.

Squiz Labs

R & D division of Squiz Pty Ltd

Open source web experience management solutions

Squiz Labs is the research and development division of Squiz, the company behind the Squiz Suite of web experience management and development tools.

Our PHP and JavaScript developers are responsible for producing innovative enterprise-quality software while our interface designers and testing team ensure our products both look great and are easy to use.