Skip to content

Commit

Permalink
Move phpstan config from composer.json to phpstan.neon file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 25, 2024
1 parent 1947bf9 commit d1e5c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"phpunit": "vendor/bin/phpunit",
"phpstan": [
"Tests/Application/console cache:warmup --env dev",
"vendor/bin/phpstan analyze -c ./phpstan.neon . -l 5"
"vendor/bin/phpstan analyze -c ./phpstan.neon"
],
"php-cs": "vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"php-cs-fix": "vendor/bin/php-cs-fixer fix"
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ includes:
- vendor/phpstan/phpstan-webmozart-assert/extension.neon

parameters:
level: 5
paths:
- .
excludePaths:
Expand Down

0 comments on commit d1e5c5e

Please sign in to comment.