宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

https://segmentfault.com/q/1010000000119048

phpcbf 是代码修复工具
phpcpd 是检测代码冗余工具 PHP Copy Paste Detector
phpdcd 检查从未被调用过的方法
phpcs  是代码检测规范程度的工具

phpcs 使用教程
http://overtrue.me/articles/2015/05/install-phpcs-and-phpmd.html
https://github.com/squizlabs/PHP_CodeSniffer/wiki