Skip to content

Commit ebf9306

Browse files
Reorder
1 parent 8a4b388 commit ebf9306

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

phpstan.neon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
parameters:
22
level: 6
3+
34
paths:
45
- src
56

6-
treatPhpDocTypesAsCertain: false
7+
excludePaths:
8+
- src/Framework/MockObject/Runtime/Api # exclude partial traits, which are only used in runtime generated code
79

810
checkTooWideReturnTypesInProtectedAndPublicMethods: true
911
reportAlwaysTrueInLastCondition: true
1012
reportPossiblyNonexistentConstantArrayOffset: true
1113
reportPossiblyNonexistentGeneralArrayOffset: true
14+
treatPhpDocTypesAsCertain: false
1215

1316
strictRules:
1417
allRules: false
@@ -57,8 +60,5 @@ parameters:
5760
- '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
5861
- identifier: argument.named
5962

60-
excludePaths:
61-
- src/Framework/MockObject/Runtime/Api # exclude partial traits, which are only used in runtime generated code
62-
6363
includes:
6464
- phar://phpstan.phar/conf/bleedingEdge.neon

0 commit comments

Comments
 (0)