6.0.0-beta1
7/4/25

[#14949] PHP(7.3) Warning: "continue" targeting switch is equivalent to "break"
Summary PHP(7.3) Warning: "continue" targeting switch is equivalent to "break"
Queue Ingo
Queue Version 3.2.16
Type Bug
State Resolved
Priority 1. Low
Owners
Requester mmarx (at) netdmon (dot) de
Created 09/01/2019 (2133 days ago)
Due
Updated 09/14/2019 (2120 days ago)
Assigned
Resolved 09/14/2019 (2120 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/14/2019 05:07:41 PM Michael Rubinsky State ⇒ Resolved
 
09/14/2019 05:07:06 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit ad2457989c0d6737621d5ec89678d36e6c4e2538
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat, 14 Sep 2019 13:06:56 -0400

Bug: 14949 continue -> break

  M lib/Script/Imap.php

https://github.com/horde/ingo/commit/ad2457989c0d6737621d5ec89678d36e6c4e2538
09/14/2019 04:55:43 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 69249735e20075499812373a1b3b4f288dedefe4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat, 14 Sep 2019 12:55:36 -0400

Bug: 14949 continue -> break

  M lib/Script/Imap.php

https://github.com/horde/ingo/commit/69249735e20075499812373a1b3b4f288dedefe4
09/02/2019 07:08:42 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #2 Reply to this comment
09/01/2019 06:13:30 PM mmarx (at) netdmon (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ PHP(7.3) Warning: "continue" targeting switch is equivalent to "break"
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
The horde-alarms cron script reports the following errors after 
upgrading to php 7.3

PHP Warning:  "continue" targeting switch is equivalent to "break". 
Did you mean to use "continue 2"? in 
/usr/share/horde/ingo/lib/Script/Imap.php on line 138
PHP Warning:  "continue" targeting switch is equivalent to "break". 
Did you mean to use "continue 2"? in 
/usr/share/horde/ingo/lib/Script/Imap.php on line 156
PHP Warning:  "continue" targeting switch is equivalent to "break". 
Did you mean to use "continue 2"? in 
/usr/share/horde/ingo/lib/Script/Imap.php on line 268
PHP Warning:  "continue" targeting switch is equivalent to "break". 
Did you mean to use "continue 2"? in 
/usr/share/horde/ingo/lib/Script/Imap.php on line 296
PHP Warning:  "continue" targeting switch is equivalent to "break". 
Did you mean to use "continue 2"? in 
/usr/share/horde/ingo/lib/Script/Imap.php on line 324

$ php --version
PHP 7.3.9 (cli) (built: Aug 27 2019 22:52:39) ( NTS )

$ pear list -c pear.horde.org | grep ingo
ingo                         3.2.16  stable


Saved Queries