HomePhabricator

Fix an errant "switch ... continue"

Description

Fix an errant "switch ... continue"

Summary:
See https://discourse.phabricator-community.org/t/unhandled-exception-on-create-task/2062.

This construction has the same behavior as "switch ... break" but is unconventional. PHP 7.3 started warning about it because it's likely a mistake.

Test Plan: Created a task, edited a task owner. The new code is functionally identical to the old code.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19772

Details

Provenance
epriestleyAuthored on Nov 5 2018, 12:38 PM
epriestleyPushed on Nov 5 2018, 6:26 PM
Reviewer
amckinley
Differential Revision
D19772: Fix an errant "switch ... continue"
Parents
rP24a061f84495: Correct an ambiguous regexp in DiffusionRequest
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21083
Build 28650: Run Core Tests