3

TIA and this is driving me insane and resources on the web don't appear to be my specific issue.

I have installed PHP CS Fixer globally via Composer:

php-cs-fixer --version = PHP CS Fixer 2.14.2 Sunrise by Fabien Potencier and Darius Ruminski

Adjusted PHP CS Fixer to run locally and pointed to the .bat file...validation came back fine: PHP CS Fixer path

Now when I run my Inspect Code, PHP CS Fixer shows the problems but when I click the lightbulb to fix them...the issues go away from the inspection but the problems are still there in the file itself (re-running it shows the same issues and the file is unchanged). PHP CS Fixer running

Nothing is firing in my Event Logs to help diagnose was is/isn't going on :/

Using PHP CS Fixer 2.14.2 and PhpStorm 2018.3.4

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Ray
  • 773
  • 9
  • 21
  • If you use custom .php_cs.dist configuration with specified finder to inspect concrete directories in the project the mentioned problem can be related to the PhpStorm [issue](https://youtrack.jetbrains.com/issue/WI-45280) since PHP CS Fixer was started with no working directory specified therefore related paths in custom configuration file were invalid. In this case, the issue should be resolved in PhpStorm EAP 191.5849 – Olga Strizhenko Mar 18 '19 at 12:56
  • I do not use that and also tried to add it via the link as you said to no avail :( – Ray Apr 02 '19 at 11:17

0 Answers0