Skip to content

Commit c7b6500

Browse files
committed
Configure PromoteParameterRule for issue-bot
1 parent 09a7355 commit c7b6500

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

issue-bot/playground.neon

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,70 @@ conditionalTags:
1212
services:
1313
-
1414
class: PHPStan\Rules\Playground\StaticVarWithoutTypeRule
15+
16+
-
17+
class: PHPStan\Rules\Playground\PromoteParameterRule
18+
arguments:
19+
rule: @uninitializedPropertyRule
20+
nodeType: PHPStan\Node\ClassPropertiesNode
21+
parameterValue: %checkUninitializedProperties%
22+
parameterName: checkUninitializedProperties
23+
tags:
24+
- phpstan.rules.rule
25+
autowired: false
26+
27+
-
28+
class: PHPStan\Rules\Playground\PromoteParameterRule
29+
arguments:
30+
rule: @nonexistentOffsetInArrayDimFetchGeneralArrayRule
31+
nodeType: PhpParser\Node\Expr\ArrayDimFetch
32+
parameterValue: %reportPossiblyNonexistentGeneralArrayOffset%
33+
parameterName: reportPossiblyNonexistentGeneralArrayOffset
34+
tags:
35+
- phpstan.rules.rule
36+
autowired: false
37+
38+
-
39+
class: PHPStan\Rules\Playground\PromoteParameterRule
40+
arguments:
41+
rule: @nonexistentOffsetInArrayDimFetchConstantArrayRule
42+
nodeType: PhpParser\Node\Expr\ArrayDimFetch
43+
parameterValue: %reportPossiblyNonexistentConstantArrayOffset%
44+
parameterName: reportPossiblyNonexistentConstantArrayOffset
45+
tags:
46+
- phpstan.rules.rule
47+
autowired: false
48+
49+
nonexistentOffsetInArrayDimFetchGeneralArrayRule:
50+
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchRule
51+
arguments:
52+
nonexistentOffsetInArrayDimFetchCheck: @nonexistentOffsetInArrayDimFetchCheckGeneralArrayOffset
53+
reportMaybes: %reportMaybes%
54+
autowired: false
55+
56+
nonexistentOffsetInArrayDimFetchConstantArrayRule:
57+
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchRule
58+
arguments:
59+
nonexistentOffsetInArrayDimFetchCheck: @nonexistentOffsetInArrayDimFetchCheckConstantArrayOffset
60+
reportMaybes: %reportMaybes%
61+
autowired: false
62+
63+
nonexistentOffsetInArrayDimFetchCheckGeneralArrayOffset:
64+
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchCheck
65+
arguments:
66+
reportMaybes: %reportMaybes%
67+
reportPossiblyNonexistentGeneralArrayOffset: true
68+
reportPossiblyNonexistentConstantArrayOffset: false
69+
autowired: false
70+
71+
nonexistentOffsetInArrayDimFetchCheckConstantArrayOffset:
72+
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchCheck
73+
arguments:
74+
reportMaybes: %reportMaybes%
75+
reportPossiblyNonexistentGeneralArrayOffset: false
76+
reportPossiblyNonexistentConstantArrayOffset: true
77+
autowired: false
78+
79+
uninitializedPropertyRule:
80+
class: PHPStan\Rules\Properties\UninitializedPropertyRule
81+
autowired: false

0 commit comments

Comments
 (0)