Atom Linter-PHPCS – ‘phpcs’ is not recognized as an internal or external command

今日使用Atom 來寫 PHP code是出現以下錯誤信息
‘phpcs’ is not recognized as an internal or external command

Linter-PHPCSAtom Editor的一個 用來檢查 PHP Coding Standard 的Plugin
就像.Net中的StyleCop 差不多
今日在使用時出現了這個問題
Error 'PHPCS' is not recognized as an internal or External Command

解決方法十分簡單
大家可以在AtomSetting->Packages tab上找出 Linter-phpcs package
之後在Settings/ 設定上輸入 PHPCSexecutable path便可以了
Linter-PHPCS Execution Path

Happy Coding

Leave a Reply