Bug #19700 [Opn->Fbk]: undefined notice in PHP_CodeSniffer version 1.4.1

From: Date: Mon, 12 Nov 2012 20:59:19 +0000
Subject: Bug #19700 [Opn->Fbk]: undefined notice in PHP_CodeSniffer version 1.4.1
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9334@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19700&edit=1 ID: 19700 Updated by: gsherwood@squiz.net Reported By: abc at inbox dot lt Summary: undefined notice in PHP_CodeSniffer version 1.4.1 -Status: Open +Status: Feedback Type: Bug Package: PHP_CodeSniffer Operating System: Linux (Centos5.8 x64) PHP Version: 5.4.8 -Assigned To: +Assigned To: squiz Roadmap Versions: New Comment: -Status: Open +Status: Feedback -Assigned To: +Assigned To: squiz The only way I'll be able to reproduce this is if you can give me some code that you can reliably replicate it on. That will tell me if the problem is with the sniff or the tokenizer. Are you able to provide some sample code? Previous Comments: ------------------------------------------------------------------------ [2012-11-12 15:48:45] #4f531e56ae1304bed47 Description: ------------ Notice: Undefined offset: -1 in /usr/share/pear/PHP/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php on line 186 PHP Stack trace: PHP 1. {main}() /usr/bin/phpcs:0 PHP 2. PHP_CodeSniffer_CLI->process() /usr/bin/phpcs:37 PHP 3. PHP_CodeSniffer->process() /usr/share/pear/PHP/CodeSniffer/CLI.php:561 PHP 4. PHP_CodeSniffer->processFile() /usr/share/pear/PHP/CodeSniffer.php:504 PHP 5. PHP_CodeSniffer->_processFile() /usr/share/pear/PHP/CodeSniffer.php:1302 PHP 6. PHP_CodeSniffer_File->start() /usr/share/pear/PHP/CodeSniffer.php:1424 PHP 7. PEAR_Sniffs_Functions_FunctionCallSignatureSniff->process() /usr/share/pear/PHP/CodeSniffer/File.php:492 PHP 8. PEAR_Sniffs_Functions_FunctionCallSignatureSniff->processMultiLineCall() /usr/share/pear/PHP/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:113 Test script: --------------- phpcs --report=checkstyle --report-file=./build/logs/checkstyle.xml --standard=PSR2 --extensions=php --ignore="vendor/**" . ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19700&edit=1

« previous php.pear.bugs (#9334) next »