1. download
https://pear.php.net/go-pear.phar
2. install pear(http://pear.php.net/manual/en/installation.getting.php)
php go-pear.phar
安装时输入system
3. install PHP_CodeSniffer(http://pear.php.net/package/PHP_CodeSniffer/)
pear install PHP_CodeSniffer