I have added the linter package to Atom and I have been able to successfully add linters for javascript and xml but not PHP. When I add one of the php linters I get the following error “Uncaught BufferedProcessError: Failed to spawn command phpmd
. Make sure phpmd
is installed and on your PATH”
php is in my PATH and I have added the following to config.cson.
‘linter-phpmd’:
‘phpExecutablePath’: ‘/Applications/MAMP/bin/php/php5.6.2/bin/’
Am I missing something?