diff options
author | Remi Collet <remi@remirepo.net> | 2018-08-27 08:20:48 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-08-27 08:20:48 +0200 |
commit | 9ce9e654c370b9be8f4d09fc6a7a310550dceec6 (patch) | |
tree | 83e95d1f141a7343ef4a25233cdbd797f7eab0c9 /93.patch | |
parent | 782e219c4c31aa51bcb1fa89338b4097c3b41858 (diff) |
add patch for PHP 7.3 from https://github.com/zendframework/zend-stdlib/pull/93
Diffstat (limited to '93.patch')
-rw-r--r-- | 93.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/93.patch b/93.patch new file mode 100644 index 0000000..06143be --- /dev/null +++ b/93.patch @@ -0,0 +1,23 @@ +From 70667fe80d193e1da2975356ecbff0287830d7b8 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 27 Aug 2018 08:15:06 +0200 +Subject: [PATCH] Fix PHP 7.3 warning: "continue" targeting switch is + equivalent to "break". Did you mean to use "continue 2"? + +--- + src/ArrayObject.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ArrayObject.php b/src/ArrayObject.php +index 926ff6ea..8c77c620 100644 +--- a/src/ArrayObject.php ++++ b/src/ArrayObject.php +@@ -425,7 +425,7 @@ public function unserialize($data) + $this->setIteratorClass($v); + break; + case 'protectedProperties': +- continue; ++ break; + default: + $this->__set($k, $v); + } |