Skip to content

Commit e0ea845

Browse files
Enable additional rules
1 parent 3bfc793 commit e0ea845

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ parameters:
55

66
treatPhpDocTypesAsCertain: false
77

8+
checkTooWideReturnTypesInProtectedAndPublicMethods: true
9+
reportAlwaysTrueInLastCondition: true
10+
reportPossiblyNonexistentConstantArrayOffset: true
11+
reportPossiblyNonexistentGeneralArrayOffset: true
12+
813
strictRules:
914
allRules: false
1015
booleansInConditions: true

0 commit comments

Comments
 (0)