blog icon indicating copy to clipboard operation
blog copied to clipboard

PHPCS、PHPMD 的安装与配置 - overtrue

Open overtrue opened this issue 7 years ago • 1 comments

https://overtrue.me/articles/2015/05/install-phpcs-and-phpmd.html

PHPCS 安装 有以下方式安装 PHPCS: 使用 composer: composer global require "squizlabs/php_codesniffer=*" 注意,你可能需要将 ~/.composer/vendor/bin/ 添加到 PATH 环境变量中,否则会报命令找不到。 使用 PEAR: pear install PHP_CodeSniffer 下载安装: curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar php phpcs.phar -h curl -OL h...

overtrue avatar May 04 '18 02:05 overtrue

代码质量很重要

muyehub avatar Sep 08 '19 04:09 muyehub