News Feed
Sections




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

Stefan Priebsch's Blog:
Custom Coding Standards with PHP_CodeSniffer
July 03, 2008 @ 12:02:36

Stefan Priebsch recently posted about his struggles with creating a custom coding started with the PHP_CodeSniffer package:

In CodeSniffer, a coding standard is basically represented by an empty class that extends PHP_CodeSniffer_Standards_CodingStandard. I could not get the CodeSniffer to find my coding standard, though, and found the documentation lacking about where to put it, how to name it, and how to refer to it in the --standard switch.

After an email to Greg Sherwood (developer of the package) Stefan figured out his issue and has shared the solution in this post (step by step).

0 comments voice your opinion now!
coding standard custom phpcodesniffer gregsherwood package


blog comments powered by Disqus

Similar Posts

The Web Squeeze: Using Prado - A PHP Framework

Site News: Tagged Feeds Back in Working Condition

Pierre-Alain Joye's Blog: Zip 1.8.5, small bug fixes release

David Coallier's Blog: PEAR::Validate 0.8.0 released...THE release, finally

Pierre-Alain Joye's Blog: Welcome Amir and Validate-0.6.4 release


Community Events

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


list opinion voicesoftheelephpant example version release wordpress extension podcast laravel5 language interview php7 introduction series api library laravel community framework

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