Skip to content

Commit ed475f6

Browse files
committed
updated phpstan
1 parent a13b119 commit ed475f6

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"minimum-stability": "dev",
3535
"scripts": {
36-
"phpstan": "phpstan analyse --level 5 --configuration tests/phpstan.neon src",
36+
"phpstan": "phpstan analyse",
3737
"tester": "tester tests -s"
3838
},
3939
"extra": {
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
includes:
2-
- ../vendor/phpstan/phpstan-nette/extension.neon
3-
41
parameters:
2+
level: 5
3+
4+
paths:
5+
- src
6+
57
treatPhpDocTypesAsCertain: false
8+
69
ignoreErrors:
710
- '#Variable \$this in isset\(\) always exists and is not nullable\.#'
11+
12+
13+
includes:
14+
- vendor/phpstan/phpstan-nette/extension.neon

0 commit comments

Comments
 (0)