phpstorm配置psr规范提醒
作者:互联网
1.安装Code Sniffer:
sudo apt-get install php-pear sudo pear install PHP_CodeSniffer
2.phpstorm选择sniffer配置:
File-->setting--->Language & Frameworkd-->php----->Quality Tools:
选择自己通过apt安装的code sniffer路径 :/usr/bin/目录下,选择phpcs
配置自己需要的psr规则:
File->setting->Editor->inspections:
标签:sudo,pear,规范,apt,phpstorm,install,psr,setting 来源: https://www.cnblogs.com/callmelx/p/11131997.html