-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (30 loc) · 1.01 KB
/
phpstan.neon
File metadata and controls
30 lines (30 loc) · 1.01 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
parameters:
level: max
scanFiles:
- vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php
tmpDir: var/cache/phpstan
paths:
- src
- tests
strictRules:
disallowedLooseComparison: true
booleansInConditions: true
uselessCast: true
requireParentConstructorCall: true
disallowedBacktick: true
disallowedEmpty: true
disallowedImplicitArrayCreation: true
disallowedShortTernary: true
overwriteVariablesWithLoop: true
closureUsesThis: true
matchingInheritedMethodNames: true
numericOperandsInArithmeticOperators: true
strictFunctionCalls: true
dynamicCallOnStaticMethod: true
switchConditionsMatchingType: true
noVariableVariables: true
strictArrayFilter: true
illegalConstructorMethodCall: true
ignoreErrors:
- message: '#Dynamic call to static method PHPUnit\\Framework\\Assert::[a-zA-Z0-9_]+\(\)#'
path: tests/