Make php-cs-fixer work in phpstorm

This commit is contained in:
Dane Everitt 2021-01-23 13:44:35 -08:00
parent 91cdf08489
commit b480a9e4e2
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 5 additions and 8 deletions

View file

@ -68,7 +68,7 @@
}
},
"scripts": {
"php-cs-fixer": "php-cs-fixer fix --diff --diff-format=udiff --config=./.php_cs.dist",
"php-cs-fixer": "php-cs-fixer fix --diff --diff-format=udiff --config=./.php_cs.dist --rules=psr_autoloading",
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],