Re: PHP_CodeSniffer 1.3.1 dies on heredocs and nowdocs
| From: | Greg Sherwood | Date: | Sun, 06 Nov 2011 01:29:22 +0000 |
| Subject: | Re: PHP_CodeSniffer 1.3.1 dies on heredocs and nowdocs | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31298@lists.php.net to get a copy of this message | ||
You can submit bug reports here:
http://pear.php.net/package/PHP_CodeSniffer/bugs
Thanks
Greg
On Sun, Nov 6, 2011 at 2:43 AM, Kendig, Brian <Brian.Kendig@disney.com>wrote:
> 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
>
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Greg Sherwood
Product Development Manager
E gsherwood@squiz.com.au
Squiz Australia Pty. Ltd. A 92 Jarrett Street, Leichhardt NSW 2040
P +61 2 8507 9900 F +61 2 8507 9988 SUPPORT 13000 SQUIZ W
www.squiz.com.au
AUSTRALIA UNITED KINGDOM NEW ZEALAND EUROPE UNITED STATES
SYDNEY MELBOURNE CANBERRA HOBART BRISBANE
SUPPORTED OPEN SOURCE SOLUTIONS