Date:  10 Dec 2014 06:42:25 Hong Kong Time

[PEAR-BUG] Bug #20460 [Opn->Csd]: The new version of Codesniffer breaks my custom Sniffer

NNTP-Posting-Host:  null

Edit report at

 ID:               20460
 Updated by:
 Reported By:      shahmirj at gmail dot com
 Summary:          The new version of Codesniffer breaks my custom
-Status:           Open
+Status:           Closed
 Type:             Bug
 Package:          PHP_CodeSniffer
 Operating System: Centos
 Package Version:  2.0.0
 PHP Version:      Irrelevant
-Assigned To:      
+Assigned To:      squiz
 Roadmap Versions: 
 New Comment:

-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: squiz
The comment parser has been completely removed from version 2.0, so
you'll need to 
rewrite any custom sniffs that previously used it. More info is here:

Look for the section "Removal of the Comment Parser".

If you are having problems converting your sniff, email me directly and
I'll help when I 
can: gsherwood at squiz dot net

Previous Comments:

[2014-12-09 22:22:35] shahmirj

When I run a `phpcs -p -n --standard=Custom --report-width=120 
./application` using a custom coding standard I get a backtrace. 

It seems that autoloading is not working

Note I am running 5.3.3 but version 1.5.6 works as expected. I 
have roll backed and tested

Test script:
A top level snippet of my code sniffer

Expected result:
It to work, and use my custom sniffer

Actual result:


Edit this bug report at