Closed pipecivil closed 8 years ago
@pipecivil Your config is incorrect. Look at this line:
[Phpcs] /usr/local/bin/phpcs -l -d display_errors=On /Volumes/Myimportant/web/www/index.php
You are using phpcs with the php linting options. Update your php path and it should work fine. There are example configs in the repo
thank you very much !!
[Phpcs] ERROR: option "- " not known.
problem thing is Writing file /Volumes/Myimportant/web/www/index.php with encoding UTF-8 [Phpcs] /usr/local/bin/phpcs -l -d display_errors=On /Volumes/Myimportant/web/www/index.php [Phpcs] /usr/local/bin/phpcs -l -d display_errors=On /Volumes/Myimportant/web/www/index.php [Phpcs] cwd: /Users/mac [Phpcs] ERROR: option "- " not known.
in console not problem only problem on the sublime text2
other line is good [Phpcs] /usr/local/bin/phpcs --report=checkstyle -n --standard=/Users/mac/pear/share/pear/PHP/CodeSniffer/Standards/MySource/ruleset.xml /Volumes/Myimportant/web/www/index.php [Phpcs] /usr/local/bin/phpcs --report=checkstyle -n --standard=/Users/mac/pear/share/pear/PHP/CodeSniffer/Standards/MySource/ruleset.xml /Volumes/Myimportant/web/www/index.php [Phpcs] cwd: /Users/mac [Phpcs] <?xml version="1.0" encoding="UTF-8"?>