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

  ID: 20193
  Updated by: gsherwood@squiz.net
  Reported By: schmunk at usrbin dot de
  Summary: PHP Notice: Undefined offset: 3 in CodeSniffer.php
                     on line 1050
-Status: Open
+Status: Feedback
  Type: Bug
  Package: PHP_CodeSniffer
  Operating System: OS X 10.9
  Package Version: SVN
  PHP Version: 5.4.24
  Roadmap Versions:
  New Comment:

-Status: Open
+Status: Feedback
The error line seems to indicate that it is a problem with the external
standard itself
rather than a problem with PHP_CodeSniffer.

If you are the one who wrote the standard, I'll take a look and see if I
can fix it for
you if you can point me to it.

If someone else maintains it, let them know there is a problem.


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

[2014-02-07 12:02:40] schmunk

Description:
------------
I tried to run phpcs directly with an external standard specification,
it works, but throws a notice.

Test script:
---------------
./vendor/bin/phpcs --extensions=php
--standard=/Downloads/yii2-coding-standards-master/Yii2/
vendor/yiisoft/yii2-dev/extensions/debug/

Expected result:
----------------
no PHP Notice

Actual result:
--------------
PHP Notice: Undefined offset: 3 in
/******/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line
1050

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 7, '14 at 9:52p
activeFeb 7, '14 at 9:52p
posts1
users1
websitepear.php.net

1 user in discussion

Gsherwood: 1 post

People

Translate

site design / logo © 2022 Grokbase