Skip to content

Commit

Permalink
OffsetAccessWithoutDimForReadingRule cannot be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 12, 2020
1 parent 023cc70 commit 450592c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rules/Arrays/OffsetAccessWithoutDimForReadingRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function processNode(\PhpParser\Node $node, Scope $scope): array
}

return [
RuleErrorBuilder::message('Cannot use [] for reading.')->build(),
RuleErrorBuilder::message('Cannot use [] for reading.')->nonIgnorable()->build(),
];
}

Expand Down

0 comments on commit 450592c

Please sign in to comment.