Skip to content

Commit

Permalink
core: move phpstan config to the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 1, 2020
1 parent d51ff8c commit 5b1f148
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"phpcs": "phpcs --standard=phpcs.xml --no-cache --colors -p -n",
"phpcbf": "phpcbf --standard=phpcs.xml",
"phpstan": "phpstan analyse src tests --configuration=phpstan.neon --level=max",
"phpstan": "phpstan analyse",
"phpunit": "phpunit",
"update:example": "./scripts/update-example.sh"
},
Expand Down
9 changes: 8 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
parameters:
checkMissingIterableValueType: false
checkMissingIterableValueType: false
level: max
excludes_analyse:
- vendor/*
paths:
- src/
- example/
- tests/

0 comments on commit 5b1f148

Please sign in to comment.