Page MenuHomePhabricator

Fix an errant "switch ... continue"
ClosedPublic

Authored by epriestley on Nov 5 2018, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 1:54 PM
Unknown Object (File)
Fri, Apr 26, 10:13 AM
Unknown Object (File)
Wed, Apr 24, 10:01 PM
Unknown Object (File)
Sun, Apr 21, 4:06 PM
Unknown Object (File)
Wed, Apr 17, 3:07 PM
Unknown Object (File)
Tue, Apr 16, 2:59 AM
Unknown Object (File)
Thu, Apr 11, 7:16 AM
Unknown Object (File)
Mar 19 2024, 3:39 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
break1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21080
Build 28645: Run Core Tests
Build 28644: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 5 2018, 3:32 PM
This revision was automatically updated to reflect the committed changes.