Edit report at http://pear.php.net/bugs/bug.php?id=16137&edit=1

ID: 16137
Updated by: bate@php.net
Reported By: bate at php dot net
Summary: Undefined offset: 2 File.php line 531
Status: No Feedback
Type: Bug
Package: PHP_CodeSniffer
Package Version: 1.2.0RC1
PHP Version: 5.2.9
Assigned To: squiz
Roadmap Versions:
New Comment:

Sorry i cant reproduce it right now .. i try to provide you code if

Previous Comments:

[2009-05-19 03:50:37] squiz

-Status: Feedback
+Status: No Feedback

If you can provide the code, please re-open the report.


[2009-05-05 08:10:32] squiz

-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: squiz


[2009-04-22 12:43:15] squiz

Can you please provide the code you were testing. Any sort of error
from phpcs means it is not checking your specific code correctly, which
is why I don't silence any of these errors.


[2009-04-22 11:40:14] bate

Error with non existing offset in an array. check first and after

Test script:
PHP Notice: Undefined offset: 2 in
/var/www/Tools/PHP/CodeSniffer/File.php on line 531
PHP Stack trace:
PHP 1. {main}() /var/www/Tools/phpcs:0
PHP 2. PHP_CodeSniffer_CLI->process() /var/www/Tools/phpcs:30
PHP 3. PHP_CodeSniffer->process()
PHP 4. PHP_CodeSniffer->processFiles()
PHP 5. PHP_CodeSniffer_File->addError()


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedJun 23, '09 at 7:38a
activeJun 23, '09 at 7:38a

1 user in discussion

Bate: 1 post



site design / logo © 2022 Grokbase