2

After install Xdebug on PhpStorm, CodeSniffer start show this annoying balloon message:

phpcs: Can not correctly run the tool with parameters: /tmp/phpcs_temp.tmp/app/Http/Controllers/PostController.php --encoding=utf-8 --report=xml

Environment: PhpStorm 2017.1.2, Xdebug 2.5.3, CodeSniffer 3.0, Nginx

PS: I try this solution, but it dose not help :(

Community
  • 1
  • 1
Odin Thunder
  • 3,284
  • 2
  • 28
  • 47

1 Answers1

0

As Alex Slipknot suggested in the comments, the link PhpStorm Is throwing an error for phpcs provide a working solution for me :

Under Settings/Preferences | Languages & Frameworks | PHP | Quality tools you can see which quality plugins are enabled (PHP CS or PHP MD). When you click on the "PHP CS Fixer Inspection" link (or on one of the other tools link here), you're redirected on the editor > inspections configuration in phpstorm. On this page, if you uncheck all the quality tools items (ie : PHP CS Fixer Validation), you should not have the problem anymore.

Hope it helps

beluga
  • 193
  • 3
  • 17