Skip to content

Commit

Permalink
Improve PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Jul 31, 2024
1 parent e5f38d1 commit 6c813ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse src test config --level=8",
"stan": "phpstan analyse",
"test": "phpunit --order-by=random --testdox --colors=always",
"test:ci": "@test --coverage-clover=build/clover.xml",
"test:pretty": "@test --coverage-html=build/coverage-html"
Expand Down
13 changes: 9 additions & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
ignoreErrors:
- identifier: missingType.iterableValue
level: 8
paths:
- config
- src
- test
ignoreErrors:
- identifier: missingType.iterableValue

0 comments on commit 6c813ad

Please sign in to comment.