Bug #19402 [Com]: syntax error when executing phpcs

From: Date: Sat, 12 May 2012 21:42:57 +0000
Subject: Bug #19402 [Com]: syntax error when executing phpcs
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8661@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 Comment by: tklingenberg@lastflood.com Reported By: brandon dot mull at solohealth dot com Summary: syntax error when executing phpcs Status: Assigned Type: Bug Package: PHP_CodeSniffer Operating System: Windows 7 Package Version: 1.3.3 PHP Version: 5.3.9 Assigned To: squiz Roadmap Versions: New Comment: I added a PR: https://github.com/squizlabs/PHP_CodeSniffer/pull/31 Previous Comments: ------------------------------------------------------------------------ [2012-05-12 22:30:55] awtrost ya looks like that was the issue. thanks for the help! ------------------------------------------------------------------------ [2012-05-12 22:30:04] tkli Good to read that you could get it to work. ------------------------------------------------------------------------ [2012-05-12 22:13:09] awtrost I reinstalled php into a directory without parens and it solved the problem. ------------------------------------------------------------------------ [2012-05-12 22:00:08] tkli Please check if adding the -f parameter and -- at the end in phpcs.bat helps. My edited line: "c:\Programme\PHP\.\php.exe" -d auto_append_file="" -d auto_prepend_file="" -d include_path="c:\Programme\PHP\pear" -f "c:\Programme\PHP\phpcs" -- %* See -f before "c:\Programme\PHP\phpcs". And see -- before %* at the end. Please insert those two changes into your line at the same positions and try again. ------------------------------------------------------------------------ [2012-05-12 21:50:48] tkli This bug might be related: http://pear.php.net/bugs/bug.php?id=16644 - I'm on windows XP which has not that (x86) directory and I'm not able to reproduce. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=19402 -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19402&edit=1

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