[commits] Imap_Client branch master updated. cce18505bee4c68cc8ee8d0351c733c2de2b8d21

jan at horde.org jan at horde.org
Fri Oct 26 20:29:24 UTC 2018


The branch "master" has been updated.
The following is a summary of the commits.

from: 5675ecf7b3492e0c47bd7172556a5ff6f63c0ca5

dd71f03 Fix continue statement within switch/case keeping original behavior
cce1850 Merge branch 'php73_switch_case_continue' of https://github.com/stronk7/Imap_Client into stronk7-php73_switch_case_continue

Summary: https://github.com/horde/Imap_Client/compare/5675ecf7b349...cce18505bee4

-----------------------------------------------------------------------

commit dd71f03a8f02f0354e81a482dcb02af91f533976
Author: Eloy Lafuente (stronk7) <stronk7 at moodle.org>
Date:   Sun, 14 Oct 2018 13:20:10 +0200

Fix continue statement within switch/case keeping original behavior

continue statements within switch/case statements always have
behaved like break (ending the switch). Only exception is when
they are within a loop and we may want to use 'continue 2;'
instead (to jump to next iteration).

PHP7.3 has added a PHPWarning for all this switch/case/continue
uses (https://wiki.php.net/rfc/continue_on_switch_deprecation) so
this just changes is to the BC equivalent break. As far as there
isn't remaining code in the loop after the switch, it is 100%
the same than a continue 2.

 M lib/Horde/Imap/Client/Tokenize.php

https://github.com/horde/Imap_Client/commit/dd71f03a8f02f0354e81a482dcb02af91f533976

-----------------------------------------------------------------------

commit cce18505bee4c68cc8ee8d0351c733c2de2b8d21
Author: Jan Schneider <jan at horde.org>
Date:   Fri, 26 Oct 2018 22:27:49 +0200

Merge branch 'php73_switch_case_continue' of https://github.com/stronk7/Imap_Client into stronk7-php73_switch_case_continue

 M lib/Horde/Imap/Client/Tokenize.php

https://github.com/horde/Imap_Client/commit/cce18505bee4c68cc8ee8d0351c733c2de2b8d21


More information about the commits mailing list