[Tickets #14973] PHP 7.3 : Switch Case uses "continue" instead of "break"

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Dec 23 13:26:05 UTC 2019


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14973
------------------------------------------------------------------------------
  Ticket           | 14973
  Erstellt Von     | torben at dannhauer.info
  Zusammenfassung  | PHP 7.3 : Switch Case uses "continue" instead of "break"
  Warteschlange    | Synchronization
  Version          | FRAMEWORK_5_2
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 3. High
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


torben at dannhauer.info (2019-12-23 13:26) hat geschrieben:

After upgrading  PHP to V7.3, it throws the folowing errors:

It seems that using the keyword continue is deprecated and it must be  
changed to "break". Currently Carddav und CaldDav is dysfunctional.


---snip---
[Mon Dec 23 12:02:44.105262 2019] [proxy_fcgi:error] [pid 11363:tid  
139838539876096] [client 87.170.195.230:57044] AH01071: Got error 'PHP  
message: PHP Warning:  "continue" targeting switch is equivalent to  
"break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 352PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 380PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 385PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 398PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 414PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 516PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 527PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   8. Horde_Autoloader_Default->_include()  
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent  
to "break". Did you mean to use "continue 2"? in  
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 539PHP  
message: PHP Stack trace:PHP message: PHP   1. {main}()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP    
2. Horde_Injector->getInstance()  
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP  
   3. Horde_Injector->createInstance()  
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4.  
Horde_Injector_Binder_Factory->create()  
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5.  
Horde_Core_Factory_ActiveSyncServer->create()  
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP    
6. spl_autoload_call()  
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message:  
PHP   7. Horde_Autoloader_Default->loadClass()  
/usr/share/php/Horde/Core/Factory/ActiveS
---snip---





More information about the bugs mailing list