-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathphpstan.neon
More file actions
40 lines (36 loc) · 1.14 KB
/
Copy pathphpstan.neon
File metadata and controls
40 lines (36 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
parameters:
level: 10
paths:
- src
- tests/unit
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportAlwaysTrueInLastCondition: true
reportPossiblyNonexistentConstantArrayOffset: true
reportPossiblyNonexistentGeneralArrayOffset: true
treatPhpDocTypesAsCertain: false
strictRules:
allRules: false
booleansInConditions: true
closureUsesThis: true
disallowedBacktick: true
disallowedEmpty: true
disallowedImplicitArrayCreation: true
disallowedLooseComparison: true
disallowedShortTernary: true
illegalConstructorMethodCall: true
matchingInheritedMethodNames: true
noVariableVariables: true
numericOperandsInArithmeticOperators: true
overwriteVariablesWithLoop: true
requireParentConstructorCall: true
strictFunctionCalls: true
switchConditionsMatchingType: true
uselessCast: true
ergebnis:
allRules: false
final:
enabled: true
privateInFinalClass:
enabled: true
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon