PHP_CodeSniffer 1.3.1 dies on heredocs and nowdocs

From: Date: Sat, 05 Nov 2011 15:43:56 +0000
Subject: PHP_CodeSniffer 1.3.1 dies on heredocs and nowdocs
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31297@lists.php.net to get a copy of this message
PHP_CodeSniffer 1.2.2 worked fine, but I just upgraded to 1.3.1 and when it sees a heredoc or a nowdoc in my code, such as: $x = <<<M foo M; it dies with this error: error - An error occurred during processing; checking has been aborted. The error message was: $stackPtr must be of type T_VARIABLE It does appear to let some of my heredocs/nowdocs through, but I haven't been able to figure out why some pass and some die. Is this a known problem, or where can I report this as a bug? Brian Kendig Web Developer - Walt Disney Parks & Resorts Online brian.kendig@disney.com

« previous php.pear.general (#31297) next »