Skip to content

Commit dbd32bd

Browse files
committed
PHPStan: treatPhpDocTypesAsCertain: false
1 parent 2d74eea commit dbd32bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"minimum-stability": "dev",
3030
"scripts": {
31-
"phpstan": "phpstan analyse --level 5 src",
31+
"phpstan": "phpstan analyse --level 5 --configuration tests/phpstan.neon src",
3232
"tester": "tester tests -s"
3333
},
3434
"extra": {

tests/phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
parameters:
2+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)