8000 php 7.3 compat: continue inside switch equaivalent to break; · zendframework/zend-stdlib@88b2f2b · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 88b2f2b

Browse files
committed
php 7.3 compat: continue inside switch equaivalent to break;
1 parent 7c7663c commit 88b2f2b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ matrix:
5454
- php: 7.2
5555
env:
5656
- DEPS=latest
57+
- php: nightly
58+
env:
59+
- DEPS=latest
5760

5861
before_install:
5962
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

src/ArrayObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function unserialize($data)
425425
$this->setIteratorClass($v);
426426
break;
427427
case 'protectedProperties':
428-
continue;
428+
continue 2;
429429
default:
430430
$this->__set($k, $v);
431431
}

0 commit comments

Comments
 (0)
0