Wordpress/tests
Aaron Jorbin 6604782cd9 General: PHP7.3 throws an E_WARNING when using continue to target a switch
Applying continue to a switch is equivalent to using break and quite possibly, a continue targeting a higher level control structure is actually intended.

To target the higher level control structure, a numeric argument has to be passed to continue. This fixes two cases in WordPress Core where this is currently happening.

See: https://github.com/php/php-src/pull/3364
See: https://wiki.php.net/rfc/continue_on_switch_deprecation

Props jrf.
Fixes #44543.



git-svn-id: https://develop.svn.wordpress.org/trunk@43653 602fd350-edb4-49c9-b593-d223f7449a82
2018-09-23 22:49:02 +00:00
..
phpunit General: PHP7.3 throws an E_WARNING when using continue to target a switch 2018-09-23 22:49:02 +00:00
qunit REST API: Fix failing tests after [43584] and [43585]. 2018-08-28 13:04:07 +00:00