1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

don't flag UnusedForeachValue as fixable

This commit is contained in:
orklah 2021-08-03 18:24:53 +02:00
parent 7e137f5b95
commit 006088d578

View File

@ -822,7 +822,7 @@ class StatementsAnalyzer extends SourceAnalyzer
if (IssueBuffer::accepts(
$issue,
$this->getSuppressedIssues(),
true
$issue instanceof UnusedVariable
)) {
// fall through
}