mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-27 16:00:58 +01: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:
parent
3534d2baca
commit
eb732555a7
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ final class ArcanistPHPCompatibilityXHPASTLinterRule
|
|||
$symbol = $params->getChildByIndex(0);
|
||||
|
||||
if (!$symbol->isStaticScalar()) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
$symbol_name = $symbol->evalStatic();
|
||||
|
|
Loading…
Reference in a new issue