Going through https://www.jetbrains.com/help/phpstorm/using-php-cs-fixer.html and checking my settings, I'm not entirely sure: is the built-in integration "only" for running php-cs-fixer to report the proper validation violations back to phpstorm?
Or is the integration also capable of "fix"ing the violations?
Or is it recommend to just use a regular "File Watcher" for this?
- code is in vagrant VM via shared folders
- however it actually works to run php-cs-fixer "locally" on the host and apply the fixes (i.e. from command line), i.e. I don't require "going through the VM" which is usually slow
- I actually don't care much about seeing violations reported in phpstorm; I just want the file to be fixed before I carry on/commit/push it
Coming back now to the question: in this case, is there even a benefit using the integration php-cs-fixer integration (because I can't see in any dialogs a "just fix it" option or so") or is a "File Watcher" the way to go anyway?
Hope I could explain it well, thanks