symfony2新手。我正在学习关于udemy的教程。在安装php代码嗅探器时使用这个公式
brew install php-code-sniffer
我得到这个错误;
Missing PHP53, PHP54, PHP55 or PHP56 from homebrew-php. Please install one of them before continuing
我已经安装了php55,我真的不知道为什么我得到这个错误。
我使用了php54版本,它解决了我的问题。下面是我使用的代码;
brew install php 54