1
0
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:
Bruce Weirdan 2021-08-03 19:37:07 +03:00 committed by GitHub
commit 2ecd1d8bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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