Skip to content

Commit

Permalink
updated phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 2, 2020
1 parent e9fd1d5 commit 69af852
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"minimum-stability": "dev",
"scripts": {
"phpstan": "phpstan analyse --level 5 --configuration tests/phpstan.neon src",
"phpstan": "phpstan analyse",
"tester": "tester tests -s"
},
"extra": {
Expand Down
11 changes: 11 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
level: 5

paths:
- src

treatPhpDocTypesAsCertain: false


includes:
- vendor/phpstan/phpstan-nette/extension.neon
5 changes: 0 additions & 5 deletions tests/phpstan.neon

This file was deleted.

0 comments on commit 69af852

Please sign in to comment.