Page MenuHomePhabricator

[PHP 7.3] Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Closed, ResolvedPublic

Description

Just running php maintenance/install.php --env-checks with PHP 7.3:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in includes/json/FormatJson.php on line 274
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in languages/LanguageConverter.php on line 773

Event Timeline

MaxSem created this task.Jul 28 2018, 1:39 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 28 2018, 1:39 AM
RazeSoldier triaged this task as Medium priority.

Change 454852 had a related patch set uploaded (by 星耀晨曦; owner: 星耀晨曦):
[mediawiki/core@master] Use "break" instead of "continue"

https://gerrit.wikimedia.org/r/454852

Change 454852 merged by jenkins-bot:
[mediawiki/core@master] Use "break" instead of "continue"

https://gerrit.wikimedia.org/r/454852

RazeSoldier closed this task as Resolved.Aug 29 2018, 2:28 PM

Change 467242 had a related patch set uploaded (by Legoktm; owner: 星耀晨曦):
[mediawiki/core@REL1_31] Use "break" instead of "continue"

https://gerrit.wikimedia.org/r/467242

Change 467242 merged by jenkins-bot:
[mediawiki/core@REL1_31] Use "break" instead of "continue"

https://gerrit.wikimedia.org/r/467242