From 82168f473ef55918dd99a31fc87700510bdc6748 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Jan 2017 15:14:19 +0100 Subject: php-sabre-dav: 3.2.0 --- php-sabre-dav-php71.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 php-sabre-dav-php71.patch (limited to 'php-sabre-dav-php71.patch') 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 +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); + + + } -- cgit