From 9c12e137e98700ec7b27bb9ededc13a65463fae0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 11 Sep 2019 15:17:10 +0200 Subject: - update to 5.0.1 - drop patch merged upstream - switch to phpunit7 --- php-sabre-http5-php74.patch | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 php-sabre-http5-php74.patch (limited to 'php-sabre-http5-php74.patch') diff --git a/php-sabre-http5-php74.patch b/php-sabre-http5-php74.patch deleted file mode 100644 index 5e41957..0000000 --- a/php-sabre-http5-php74.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -up ./lib/Auth/Digest.php.up ./lib/Auth/Digest.php ---- ./lib/Auth/Digest.php.up 2019-08-20 14:37:51.705235293 +0200 -+++ ./lib/Auth/Digest.php 2019-08-20 14:38:29.371438395 +0200 -@@ -118,7 +118,7 @@ class Digest extends AbstractAuth { - */ - function getUsername() { - -- return $this->digestParts['username']; -+ return $this->digestParts['username'] ?? null; - - } - -@@ -127,6 +127,10 @@ class Digest extends AbstractAuth { - */ - protected function validate() : bool { - -+ if (!is_array($this->digestParts)) { -+ return false; -+ } -+ - $A2 = $this->request->getMethod() . ':' . $this->digestParts['uri']; - - if ($this->digestParts['qop'] == 'auth-int') { -- cgit