mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Merge pull request #6238 from orklah/unused-foreach-fixable
don't flag UnusedForeachValue as fixable
This commit is contained in:
commit
2ecd1d8bd3
@ -822,7 +822,7 @@ class StatementsAnalyzer extends SourceAnalyzer
|
||||
if (IssueBuffer::accepts(
|
||||
$issue,
|
||||
$this->getSuppressedIssues(),
|
||||
true
|
||||
$issue instanceof UnusedVariable
|
||||
)) {
|
||||
// fall through
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user