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

  ID: 20313
  Updated by: bergmann@berlitec.de
  Reported By: bergmann at berlitec dot de
  Summary: Undefined offset when using --sniffs
  Status: Open
  Type: Bug
  Package: PHP_CodeSniffer
  Operating System: Mac OS X 10.9
  Package Version: 1.5.3
  PHP Version: 5.4.29
  Roadmap Versions:
  New Comment:

PS: installed phpcs via Homebrew (brew doctor is fine)


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

[2014-06-24 13:35:32] bergmann

Description:
------------
When running phpcs with --sniffs option I get the following error:
PHP Notice: Undefined offset: 2 in
/usr/local/Cellar/php-code-sniffer/1.5.3/CodeSniffer.php on line 441

Test script:
---------------
$ phpcs --sniffs=PSR1 someFile.php

Expected result:
----------------
phpcs report

Actual result:
--------------
PHP Notice: Undefined offset: 2 in
/usr/local/Cellar/php-code-sniffer/1.5.3/CodeSniffer.php on line 441

...

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 26, '14 at 8:33a
activeJun 26, '14 at 8:33a
posts1
users1
websitepear.php.net

1 user in discussion

Bergmann: 1 post

People

Translate

site design / logo © 2022 Grokbase