summaryrefslogtreecommitdiffstats
path: root/php-sabre-dav-php71.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-17 15:14:19 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-17 15:14:19 +0100
commit82168f473ef55918dd99a31fc87700510bdc6748 (patch)
tree29a7d173348c6ae9eec493c2e3d1ea9b4b756d3d /php-sabre-dav-php71.patch
parentd635a4351d642fe85488946a085fabf18729d67b (diff)
php-sabre-dav: 3.2.0
Diffstat (limited to 'php-sabre-dav-php71.patch')
-rw-r--r--php-sabre-dav-php71.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/php-sabre-dav-php71.patch b/php-sabre-dav-php71.patch
new file mode 100644
index 0000000..8bbe179
--- /dev/null
+++ b/php-sabre-dav-php71.patch
@@ -0,0 +1,23 @@
+From 072589cd5dbce0f3e3a28b29ee778a1183c6d45d Mon Sep 17 00:00:00 2001
+From: Evert Pot <me@evertpot.com>
+Date: Fri, 7 Oct 2016 17:23:14 -0400
+Subject: [PATCH] PHP 7.1 tweak
+
+---
+ tests/Sabre/DAV/ServerEventsTest.php | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/Sabre/DAV/ServerEventsTest.php b/tests/Sabre/DAV/ServerEventsTest.php
+index 7f995c6..e41b827 100644
+--- a/tests/Sabre/DAV/ServerEventsTest.php
++++ b/tests/Sabre/DAV/ServerEventsTest.php
+@@ -118,7 +118,8 @@ class ServerEventsTest extends AbstractS
+ );
+ } catch (Exception $e) {}
+
+- $this->assertEquals(2, $k);
++ // Fun fact, PHP 7.1 changes the order when sorting-by-callback.
++ $this->assertTrue($k>=2 && $k <=3);
+
+
+ }