[Pkg-owncloud-commits] [php-sabredav] 11/30: Another PHP7 fix

David Prévot taffit at moszumanska.debian.org
Tue Jan 26 16:19:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 0ed70b5005bf651c87338ce2ee7ff598d4c4dfb5
Author: Evert Pot <me at evertpot.com>
Date:   Sun Jul 19 13:53:53 2015 -0400

    Another PHP7 fix
---
 tests/Sabre/CalDAV/CalendarQueryValidatorTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php b/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
index 99091ef..9822e82 100644
--- a/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
+++ b/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
@@ -54,6 +54,9 @@ ICS;
                     // We need to test something to be valid for phpunit strict
                     // mode.
                     $this->assertTrue(true);
+                } catch (\Throwable $e) {
+                    // PHP7
+                    $this->assertTrue(true);
                 }
                 break;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list