-
Notifications
You must be signed in to change notification settings - Fork 506
/
Copy pathconfig.level5.neon
44 lines (38 loc) · 1.23 KB
/
config.level5.neon
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
41
42
43
44
includes:
- config.level4.neon
parameters:
checkFunctionArgumentTypes: true
checkArgumentsPassedByReference: true
conditionalTags:
PHPStan\Rules\Functions\ParameterCastableToNumberRule:
phpstan.rules.rule: %featureToggles.checkParameterCastableToNumberFunctions%
rules:
- PHPStan\Rules\DateTimeInstantiationRule
- PHPStan\Rules\Functions\CallUserFuncRule
- PHPStan\Rules\Functions\ParameterCastableToStringRule
- PHPStan\Rules\Functions\ImplodeParameterCastableToStringRule
- PHPStan\Rules\Functions\SortParameterCastableToStringRule
- PHPStan\Rules\Regexp\RegularExpressionQuotingRule
services:
-
class: PHPStan\Rules\Functions\RandomIntParametersRule
arguments:
reportMaybes: %reportMaybes%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Functions\ArrayFilterRule
arguments:
treatPhpDocTypesAsCertain: %treatPhpDocTypesAsCertain%
treatPhpDocTypesAsCertainTip: %tips.treatPhpDocTypesAsCertain%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Functions\ArrayValuesRule
arguments:
treatPhpDocTypesAsCertain: %treatPhpDocTypesAsCertain%
treatPhpDocTypesAsCertainTip: %tips.treatPhpDocTypesAsCertain%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Functions\ParameterCastableToNumberRule