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

1 comment

Are you able to run phpcs from terminal, outside Intellij IDEA? It looks like you have your phpcs installation broken.

0

Please sign in to leave a comment.