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

  ID: 19969
  Updated by: gsherwood@squiz.net
  Reported By: pablick@gmail.com
  Summary: Sniffs with namespace not recognized in reports
-Status: Open
+Status: Closed
  Type: Bug
  Package: PHP_CodeSniffer
  Operating System: Mac OS X 10.8.3
  Package Version: 1.4.5
  PHP Version: 5.3.25
-Assigned To:
+Assigned To: squiz
  Roadmap Versions:
  New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: squiz
Fix for report codes committed to github repo:
https://github.com/squizlabs/PHP_CodeSniffer/commit/8a71e83f7a3cea61b81adbca5a
f5d9bceaf826e7

Fix for explaining standards committed to github repo:
https://github.com/squizlabs/PHP_CodeSniffer/commit/51ec16201fb60e00f77850dc8d
e69a04e91342be


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

[2013-06-05 12:02:11] thepablick

Description:
------------
When a sniff is using namespace, it doesn’t get recognized in
reports – instead of StandardName.SomeGroup.TheSniffName, it
shows unknownSniff. From what I saw in code, it’s caused by
identification being based on explode by underscore character,
but ignoring the possibility of it being the namespace backslash.
The same happens with explaining a (custom) standard.

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 12, '13 at 4:30a
activeJun 12, '13 at 4:30a
posts1
users1
websitepear.php.net

1 user in discussion

Gsherwood: 1 post

People

Translate

site design / logo © 2022 Grokbase