summaryrefslogtreecommitdiffstats
path: root/466f249d772c188d1370545aba65bf0126bdfef0.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-15 09:00:01 +0200
committerRemi Collet <remi@remirepo.net>2018-10-15 09:00:01 +0200
commit909d6e92707618b8f6322bf99df9a4ff08120377 (patch)
tree82fc0717ee79bb1bd98fab4ebe3b03cf18adacc1 /466f249d772c188d1370545aba65bf0126bdfef0.patch
parentb7e845ca1ca3621822fa4cbf0bb90bfd30453650 (diff)
add patch for PHP 7.3 from https://github.com/zendframework/zend-file/pull/45
Diffstat (limited to '466f249d772c188d1370545aba65bf0126bdfef0.patch')
-rw-r--r--466f249d772c188d1370545aba65bf0126bdfef0.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/466f249d772c188d1370545aba65bf0126bdfef0.patch b/466f249d772c188d1370545aba65bf0126bdfef0.patch
new file mode 100644
index 0000000..1e139ca
--- /dev/null
+++ b/466f249d772c188d1370545aba65bf0126bdfef0.patch
@@ -0,0 +1,23 @@
+From 466f249d772c188d1370545aba65bf0126bdfef0 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 15 Oct 2018 08:53:35 +0200
+Subject: [PATCH] Fix for PHP 7.3: "continue" targeting switch is equivalent to
+ "break". Did you mean to use "continue 2"?
+
+---
+ src/Transfer/Adapter/AbstractAdapter.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Transfer/Adapter/AbstractAdapter.php b/src/Transfer/Adapter/AbstractAdapter.php
+index bc90dfe..48b615d 100644
+--- a/src/Transfer/Adapter/AbstractAdapter.php
++++ b/src/Transfer/Adapter/AbstractAdapter.php
+@@ -545,7 +545,7 @@ public function setOptions($options = [], $files = null)
+ break;
+
+ default:
+- continue;
++ break;
+ }
+ }
+ }