1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-19 16:38:51 +02:00

Fix a "continue;" inside a switch in ArcanistPHPCompatibilityXHPASTLinterRule

Summary: See <https://discourse.phabricator-community.org/t/arc-diff-fails-on-incompatible-linter-rule-with-php7-3/2198>.

Test Plan: Looked at the code carefully.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19868
This commit is contained in:
epriestley 2018-12-12 05:15:17 -08:00
parent 3534d2baca
commit eb732555a7

View file

@ -70,7 +70,7 @@ final class ArcanistPHPCompatibilityXHPASTLinterRule
$symbol = $params->getChildByIndex(0);
if (!$symbol->isStaticScalar()) {
continue;
break;
}
$symbol_name = $symbol->evalStatic();