Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions issue-bot/playground.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,70 @@ conditionalTags:
services:
-
class: PHPStan\Rules\Playground\StaticVarWithoutTypeRule

-
class: PHPStan\Rules\Playground\PromoteParameterRule
arguments:
rule: @uninitializedPropertyRule
nodeType: PHPStan\Node\ClassPropertiesNode
parameterValue: %checkUninitializedProperties%
parameterName: checkUninitializedProperties
tags:
- phpstan.rules.rule
autowired: false

-
class: PHPStan\Rules\Playground\PromoteParameterRule
arguments:
rule: @nonexistentOffsetInArrayDimFetchGeneralArrayRule
nodeType: PhpParser\Node\Expr\ArrayDimFetch
parameterValue: %reportPossiblyNonexistentGeneralArrayOffset%
parameterName: reportPossiblyNonexistentGeneralArrayOffset
tags:
- phpstan.rules.rule
autowired: false

-
class: PHPStan\Rules\Playground\PromoteParameterRule
arguments:
rule: @nonexistentOffsetInArrayDimFetchConstantArrayRule
nodeType: PhpParser\Node\Expr\ArrayDimFetch
parameterValue: %reportPossiblyNonexistentConstantArrayOffset%
parameterName: reportPossiblyNonexistentConstantArrayOffset
tags:
- phpstan.rules.rule
autowired: false

nonexistentOffsetInArrayDimFetchGeneralArrayRule:
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchRule
arguments:
nonexistentOffsetInArrayDimFetchCheck: @nonexistentOffsetInArrayDimFetchCheckGeneralArrayOffset
reportMaybes: %reportMaybes%
autowired: false

nonexistentOffsetInArrayDimFetchConstantArrayRule:
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchRule
arguments:
nonexistentOffsetInArrayDimFetchCheck: @nonexistentOffsetInArrayDimFetchCheckConstantArrayOffset
reportMaybes: %reportMaybes%
autowired: false

nonexistentOffsetInArrayDimFetchCheckGeneralArrayOffset:
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchCheck
arguments:
reportMaybes: %reportMaybes%
reportPossiblyNonexistentGeneralArrayOffset: true
reportPossiblyNonexistentConstantArrayOffset: false
autowired: false

nonexistentOffsetInArrayDimFetchCheckConstantArrayOffset:
class: PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchCheck
arguments:
reportMaybes: %reportMaybes%
reportPossiblyNonexistentGeneralArrayOffset: false
reportPossiblyNonexistentConstantArrayOffset: true
autowired: false

uninitializedPropertyRule:
class: PHPStan\Rules\Properties\UninitializedPropertyRule
autowired: false
Loading