On a Drupal 7 website running on PHP 7.3.1 it's giving:
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? field_tools.module:359
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | field_tools-php-7.3-compatibility-3041193-2.patch | 783 bytes | nickonom |
Comments
Comment #2
nickonom commentedHere is a patch file that fixes the issue.
Comment #3
Anonymous (not verified) commented+1 for this
I tried it locally and it removed the warning. It's such a minor thing that I'd be amazed anyway if it didn't work as expected.
Comment #4
ronino commentedJust works. Thanks.
Comment #5
joachim commentedPatch isn't applying.
Comment #6
jacob.embree commentedAre you sure you're applying it against 7.x-1.x? It applies for me.
Comment #8
joachim commentedOops, I was on the D8 branch!!
Thanks everyone! Committed.