Page MenuHomePhabricator

Translate/scripts/magic-export.php triggers warnings on PHP 7.3
Closed, ResolvedPublic

Description

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /srv/mediawiki/core/extensions/Translate/scripts/magic-export.php on line 124
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /srv/mediawiki/core/extensions/Translate/scripts/magic-export.php on line 130

Event Timeline

Nikerabbit added a subscriber: Nikerabbit.

Alas, this script is currently not in use.

Change 500175 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/Translate@master] Replace continue with continue 2 inside switch statement

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

Change 500175 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Replace continue with continue 2 inside switch statement

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

Daimona removed a project: Patch-For-Review.