天天看点

PHPStorm报错:phpcs: Can not correctly run the tool with parameters

原文地址:https://www.xugj520.cn/archives/130.html

报错信息:

11:09	PHP Code Sniffer
		phpcs: Can not correctly run the tool with parameters:
		C:/Users/Administrator/AppData/Local/Temp/phpcs_temp.tmp/application/admin/controller/customs/CustomsTotal.php
		--standard=PSR12
		--runtime-set
		installed_paths
		E:\phpStudy\php\php-5.6.27-nts
		--encoding=utf-8
		--report=xml
		--extensions=php,js,css,inc
		Possible tool process hangup after 5 sec.
		Exclude CustomsTotal.php from PHP Code Sniffer analysis.
           

修改方式:

关闭xdebug调试;phpstudy关闭方式,取消打钩

PHPStorm报错:phpcs: Can not correctly run the tool with parameters