mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Fix implicit fallthrough in arc
Summary: Raised by new linter. Test Plan: Lint/inspection. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1831
This commit is contained in:
parent
bdfc021d39
commit
fba87a5b6a
2 changed files with 2 additions and 0 deletions
|
@ -1460,6 +1460,7 @@ final class ArcanistXHPASTLinter extends ArcanistLinter {
|
|||
|
||||
default:
|
||||
$key = null;
|
||||
break;
|
||||
}
|
||||
|
||||
if ($key !== null) {
|
||||
|
|
|
@ -305,6 +305,7 @@ final class ArcanistDiffParser {
|
|||
break;
|
||||
default:
|
||||
$this->didFailParse("Unknown diff type.");
|
||||
break;
|
||||
}
|
||||
} while ($this->getLine() !== null);
|
||||
|
||||
|
|
Loading…
Reference in a new issue