News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Project:
CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)
June 09, 2012 @ 11:17:50

Klaus Silveira has created a set of PHP_CodeSniffer rules that can be used to test your code for the recently approved PSR-1 & PSR-2 standards.

This is a PHP_CodeSniffer sniff to check against the PHP Standard Resolutions: PSR-0, PSR-1 and PSR-2. Those standards were approved by the PHP Framework Interoperability Group. You can read more about the PHP FIG and the PSR's on this excellent article by Paul Jones.

The github repository also provides an overview of the standards themselves and how to get these sniffs installed.

0 comments voice your opinion now!
psr codesniffer rules psr0 psr1 psr2


blog comments powered by Disqus

Similar Posts

Phil Sturgeon: Autoloading Laravel application code with PSR-4

Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)

Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)

Pathfinder Blog: PHP Spam Injection First Aid with Apache ModSecurity

Phil Sturgeon: Is PSR-0 Shortsighted, or are you?


Community Events





Don't see your event here?
Let us know!


wordpress bugfix api configure symfony library introduction threedevsandamaybe developer laravel application series list release install code community interview podcast language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework