安装php代码嗅探器时缺少PHP55

I'm new in symfony2. I'm following a tutorail on udemy. While installing php code sniffer with this formula

brew install php-code-sniffer

I get this error;

Missing PHP53, PHP54, PHP55 or PHP56 from homebrew-php. Please install one of them before   continuing

I already installed php55, I don't really know why I'm getting this error..

I used php54 version and it solved my problem. Here is the code that I used;

brew install php 54