Skip to content

Instantly share code, notes, and snippets.

@jeroenvdgulik
Created February 22, 2017 12:18
Show Gist options
  • Save jeroenvdgulik/2722655e98a3ecd3d7b26ae65200c65a to your computer and use it in GitHub Desktop.
Save jeroenvdgulik/2722655e98a3ecd3d7b26ae65200c65a to your computer and use it in GitHub Desktop.
Setting up php-cs-fixer in PHPStorm
Setup PHP CS Fixer in PHPStorm by adding an external tool and setting the options on the bottom as follows
```
Program: php-cs-fixer
Parameters: fix $FileDir$/$FileName$ --config $ProjectFileDir$/.php_cs
Working directory: $ProjectFileDir$
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment