-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
22 lines (22 loc) · 734 Bytes
/
phpstan.neon
File metadata and controls
22 lines (22 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
paths:
- src
strictRules:
disallowedLooseComparison: true
booleansInConditions: true
uselessCast: true
requireParentConstructorCall: true
disallowedBacktick: true
disallowedEmpty: false
disallowedImplicitArrayCreation: true
disallowedShortTernary: true
overwriteVariablesWithLoop: true
closureUsesThis: true
matchingInheritedMethodNames: true
numericOperandsInArithmeticOperators: true
strictFunctionCalls: true
dynamicCallOnStaticMethod: false
switchConditionsMatchingType: true
noVariableVariables: true
strictArrayFilter: true
illegalConstructorMethodCall: true