summaryrefslogtreecommitdiffstats
path: root/39.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-24 13:25:44 +0200
committerRemi Collet <remi@remirepo.net>2017-10-24 13:25:44 +0200
commit496a0e0b023c1e014b2773fc4c8c3623edf5796c (patch)
tree08f4cb523e466c2be557d56d135e2a2e6ca8bd46 /39.patch
parentfa933099320f9f3c5ce1c1b0906b3d8573c2dd0d (diff)
fix FTBFS from Koschei, add patch for PHP 7.2 from https://github.com/zendframework/zend-router/pull/39zend-loader
Diffstat (limited to '39.patch')
-rw-r--r--39.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/39.patch b/39.patch
new file mode 100644
index 0000000..081d47e
--- /dev/null
+++ b/39.patch
@@ -0,0 +1,22 @@
+From 27a4b8310cd8fd968d25ab7ee61798a279f87601 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 24 Oct 2017 13:16:43 +0200
+Subject: [PATCH] fix prototype for PHP 7.2
+
+---
+ test/Http/TestAsset/DummyRouteWithParam.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/Http/TestAsset/DummyRouteWithParam.php b/test/Http/TestAsset/DummyRouteWithParam.php
+index e4e99f8..340cc58 100644
+--- a/test/Http/TestAsset/DummyRouteWithParam.php
++++ b/test/Http/TestAsset/DummyRouteWithParam.php
+@@ -22,7 +22,7 @@ class DummyRouteWithParam extends DummyRoute
+ * @param RequestInterface $request
+ * @return RouteMatch
+ */
+- public function match(RequestInterface $request)
++ public function match(RequestInterface $request, $pathOffset = null)
+ {
+ return new RouteMatch(['foo' => 'bar'], -4);
+ }