Closed smith981 closed 12 years ago
What happens if you define "phpcs_executable_path" with the path to phpcs as mentioned in the Readme?
On 28 Aug 2012, at 23:34, smith981 notifications@github.com wrote:
phpcs_executable_path
I had tried that yesterday with no success (I failed to mention that this is on a Windows 7 machine). However, looking again, I realized that the path I had entered into "phpcs_executable_path" pointed to the file "phpcs", which contained PHP code and this at the top:
#!C:\php\php.exe
<?php
/**
* PHP_CodeSniffer tokenises PHP code and detects violations of a
* defined set of coding standards.
*
* PHP version 5
...
That header pointed to a PHP executable that did not exist. Changing it to the correct PHP executable's path solved the problem. Closing issue, thanks for pointing me in the right direction.
I had the same issue as https://github.com/benmatselby/sublime-phpcs/issues/33. However, a reboot did not solve the problem for me. My config is: