Skip to content

Commit 150583c

Browse files
committed
Bump to phpstan level 6
1 parent 8024ff9 commit 150583c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

phpstan.neon.dist

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ includes:
1414
parameters:
1515
phpVersion: 80100
1616
tmpDir: build/phpstan
17-
level: 5
17+
level: 6
18+
bootstrapFiles:
19+
- phpstan-bootstrap.php
1820
paths:
1921
- app
2022
- system
2123
- utils/PHPStan
22-
treatPhpDocTypesAsCertain: false
23-
bootstrapFiles:
24-
- phpstan-bootstrap.php
2524
excludePaths:
2625
- app/Views/errors/cli/*
2726
- app/Views/errors/html/*
@@ -38,3 +37,7 @@ parameters:
3837
- APP_NAMESPACE
3938
- CI_DEBUG
4039
- ENVIRONMENT
40+
checkMissingIterableValueType: false
41+
checkGenericClassInNonGenericObjectType: false
42+
checkMissingCallableSignature: true
43+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)