HomePhorge

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, 4:38 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP24a061f84495: Correct an ambiguous regexp in DiffusionRequest
Branches
Unknown
Tags
Unknown

Event Timeline