Code Sniffer In Yii

I recently, try to use code sniffer for Yii following as in Ardem / yii-coding-standard. I have successfully installed PHP_CodeSniffer and i checked as phpcs --version, its ok. But the problem is, when i set the default code snipper sniffs to Yii, [b]ERROR: the "Yii" coding standard is not installed. The installed coding standards are PEAR, MySource, Zend, Squiz and PHPCS

[/b] error occurs. Can anyone please elaborate step 3 and 4 a little bit to set my default standard to Yii.

Thanks in advance.

i use Ardem / yii-coding-standard and get same error. solution is to try as root.


sudo su