-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathphpstan.neon
More file actions
39 lines (36 loc) · 1.13 KB
/
Copy pathphpstan.neon
File metadata and controls
39 lines (36 loc) · 1.13 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
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
ignoreErrors:
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: true
exceptions:
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
uncheckedExceptionClasses:
- 'RuntimeException'
- 'LogicException'
strictRules:
disallowedLooseComparison: false
booleansInConditions: false
uselessCast: true
requireParentConstructorCall: true
disallowedBacktick: true
disallowedEmpty: false
disallowedImplicitArrayCreation: false
disallowedShortTernary: false
overwriteVariablesWithLoop: true
closureUsesThis: true
matchingInheritedMethodNames: true
numericOperandsInArithmeticOperators: false
strictFunctionCalls: true
dynamicCallOnStaticMethod: false
switchConditionsMatchingType: true
noVariableVariables: true
strictArrayFilter: true
illegalConstructorMethodCall: true