Bug #19402 [Opn->Fbk]: syntax error when executing phpcs
| From: | gsherwood at squiz dot net | Date: | Fri, 27 Apr 2012 21:41:21 +0000 |
| Subject: | Bug #19402 [Opn->Fbk]: syntax error when executing phpcs | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8591@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19402&edit=1
ID: 19402
Updated by: gsherwood@squiz.net
Reported By: brandon dot mull at solohealth dot com
Summary: syntax error when executing phpcs
-Status: Open
+Status: Feedback
Type: Bug
Package: PHP_CodeSniffer
Operating System: Windows 7
Package Version: 1.3.3
PHP Version: 5.3.9
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: squiz
What code are you running PHPCS on? Running the phpcs command by itself
is just
going to wait for user input, so the whole command you used or the
output from
"phpcs -h" would be helpful please.
Previous Comments:
------------------------------------------------------------------------
[2012-04-27 21:26:55] brandonmull
Description:
------------
syntax error in unknown script interrupts code sniffer
Recently installed PHP_CodeSniffer. No errors during install. Did not
install optional dependency "phpunit/PHP_Timer".
Tried running code sniffer from command line and got alert box warning
of syntax error.
Test script:
---------------
From command line
> phpcs
Actual result:
--------------
alert box
----------------------------
title - PHP Error
message - syntax error, unexpected '(' in Unknown on line 9
----------------------------
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19402&edit=1