Bug #16001 [Fbk]: Notice triggered
| From: | gsherwood at squiz dot net | Date: | Wed, 25 Mar 2009 05:44:28 +0000 |
| Subject: | Bug #16001 [Fbk]: Notice triggered | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-261@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16001&edit=1
ID: 16001
Updated by: gsherwood@squiz.net
Reported By: lars at legestue dot net
Summary: Notice triggered
Status: Feedback
Type: Bug
Package: PHP_CodeSniffer
Package Version: 1.2.0RC1
PHP Version: 5.2.5
Assigned To: squiz
Roadmap Versions:
New Comment:
Are you able to provide that code please?
Previous Comments:
------------------------------------------------------------------------
[2009-03-17 03:47:04] squiz
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: squiz
Hi, I will need to know what code caused the problem. PHP_CodeSniffer
intentionally prints all error messages because they are an indication
that a sniff or the core tokenizing code is not working as intended.
------------------------------------------------------------------------
[2009-03-09 18:49:16] lsolesen
Description:
------------
Notice: Undefined offset: -1 in
/usr/share/php/PHP/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php
on line 89
I can investigate futher which file was parsed if it is neccessary, but
it should be possible to avoid it giving a notice? Let me know if you
need more information.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16001&edit=1