Bug #19394 [Com]: Notice in NonExecutableCodeSniff

From: Date: Sat, 21 Apr 2012 17:04:54 +0000
Subject: Bug #19394 [Com]: Notice in NonExecutableCodeSniff
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8575@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19394&edit=1 ID: 19394 Comment by: aik.bold@gmail.com Reported By: aik dot bold at gmail dot com Summary: Notice in NonExecutableCodeSniff Status: Open Type: Bug Package: PHP_CodeSniffer Operating System: Linux Package Version: 1.3.3 PHP Version: 5.3.9 Roadmap Versions: New Comment: I was trying to analyze In-Portal CMS opensource project code at http://source.in-portal.org/in-portal/branches/5.2.x/ location. Previous Comments: ------------------------------------------------------------------------ [2012-04-21 18:00:57] aik099 Description: ------------ I'm getting very much errors, when trying to apply "Sonar Way" profile for "Code Sniffer": 18:51:42.744 INFO .u.c.CommandExecutor - Notice: Undefined index: scope_closer in /usr/local/lib/php/PHP/CodeSniffer/Standards/Squiz/Sniffs/PH P/NonExecutableCodeSniff.php on line 209 18:51:42.745 INFO .u.c.CommandExecutor - PHP Notice: Undefined index: scope_closer in /usr/local/lib/php/PHP/CodeSniffer/Standards/Squiz/Sniffs/PH P/NonExecutableCodeSniff.php on line 209 Obviously that "scope_cleaner" key should be present after scanned php file is tokenized, but it's not present. ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19394&edit=1

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