Skip to content

Commit 69af852

Browse files
committed
updated phpstan
1 parent e9fd1d5 commit 69af852

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"minimum-stability": "dev",
3838
"scripts": {
39-
"phpstan": "phpstan analyse --level 5 --configuration tests/phpstan.neon src",
39+
"phpstan": "phpstan analyse",
4040
"tester": "tester tests -s"
4141
},
4242
"extra": {

phpstan.neon

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
level: 5
3+
4+
paths:
5+
- src
6+
7+
treatPhpDocTypesAsCertain: false
8+
9+
10+
includes:
11+
- vendor/phpstan/phpstan-nette/extension.neon

tests/phpstan.neon

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)