1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Do not panic when encountering errant global var

This commit is contained in:
Matthew Brown 2017-02-12 12:23:05 -05:00
parent 8e7ab59e2b
commit 59fa0977f9

View File

@ -221,7 +221,7 @@ class StatementsChecker extends SourceChecker implements StatementsSource
),
$this->source->getSuppressedIssues()
)) {
return false;
// fall through
}
} else {
foreach ($stmt->vars as $var) {