FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=20145&edit=1

  ID: 20145
  Updated by: alan.campbell@riskpoint.co.uk
  Reported By: alan dot campbell at riskpoint dot co dot uk
  Summary: Custom ruleset does not register PEAR sniffs
  Status: Open
  Type: Bug
  Package: PHP_CodeSniffer
-Operating System:
+Operating System: OS X (10.9)
  Package Version: 1.5.0
  PHP Version: 5.4.17
  Roadmap Versions:
  New Comment:

-Operating System:
+Operating System: OS X (10.9)



Previous Comments:
------------------------------------------------------------------------

[2013-12-10 16:35:33] alancampbell

Description:
------------
Creating a very basic custom rules file loading only PEAR standard does
not register any sniff when run with the following command:

phpcs -v --standard=pear_ruleset.xml phpcs_rules_test.php

Should give the same result as running the following:

phpcs -v --standard=PEAR phpcs_rules_test.php

Repeating the above test, replacing PEAR with all other standards works
as expected and gives the same results.

Expected result:
----------------
Registering sniffs in the PEAR standard... DONE (26 sniffs registered)
Creating file list... DONE (1 files in queue)

Actual result:
--------------
Registering sniffs in the MyPEARStandardTest standard... DONE (0 sniffs
registered)
Creating file list... DONE (1 files in queue)

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 10, '13 at 3:29p
activeDec 10, '13 at 3:32p
posts2
users1
websitepear.php.net

1 user in discussion

Alan Campbell: 2 posts

People

Translate

site design / logo © 2022 Grokbase