PHPCS and PHPMD problem on IDEA
Hi There!
Two days ago I updated my mac to Mountain Lion,
after the update I continued with my PHP development on IDEA but I noted that phpcs and phpmd weren't work.
When i click on validate button in phpcs settings it gives me this message
/Users/fontanalorenzo/pear/bin/phpcs: line 2: ?php: No such file or directory
/Users/fontanalorenzo/pear/bin/phpcs: line 3: /Applications: is a directory
/Users/fontanalorenzo/pear/bin/phpcs: line 4: appletviewer.policy: command not found
/Users/fontanalorenzo/pear/bin/phpcs: line 5: appletviewer.policy: command not found
/Users/fontanalorenzo/pear/bin/phpcs: line 6: appletviewer.policy: command not found
/Users/fontanalorenzo/pear/bin/phpcs: line 7: appletviewer.policy: command not found
Anyone knows what is the problem?
Thank you
Lorenzo
请先登录再写评论。
Are you able to run phpcs from terminal, outside Intellij IDEA? It looks like you have your phpcs installation broken.