diff options
author | Remi Collet <remi@remirepo.net> | 2020-02-24 09:07:25 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-02-24 09:07:25 +0100 |
commit | af332916f62f832f77773bbf8be903a2f7ab900d (patch) | |
tree | 539fe3ad09d02e7838c9d31fdd0057a8a4102260 /php-EasyRdf-fix-php-7-4.patch | |
parent | 103b4e3e08d29dcc0a247418b6bf645019322824 (diff) |
Diffstat (limited to 'php-EasyRdf-fix-php-7-4.patch')
-rw-r--r-- | php-EasyRdf-fix-php-7-4.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/php-EasyRdf-fix-php-7-4.patch b/php-EasyRdf-fix-php-7-4.patch new file mode 100644 index 0000000..c6a23fd --- /dev/null +++ b/php-EasyRdf-fix-php-7-4.patch @@ -0,0 +1,22 @@ +From 656a86feff97afaff2b1ff7dbc7cc696b66e8a06 Mon Sep 17 00:00:00 2001 +From: Alex Pott <alex.a.pott@googlemail.com> +Date: Fri, 18 Oct 2019 21:07:16 +0100 +Subject: [PATCH] Fix PHP 7.4 deprecation + +--- + lib/ParsedUri.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/EasyRdf/ParsedUri.php b/lib/EasyRdf/ParsedUri.php +index 037c1f80..23cc3bd6 100644 +--- a/lib/EastRdf/ParsedUri.php ++++ b/lib/EasyRdf/ParsedUri.php +@@ -242,7 +242,7 @@ public function normalise() + } + + // Construct the new normalised path +- $this->path = implode($newSegments, '/'); ++ $this->path = implode('/', $newSegments); + + // Allow easy chaining of methods + return $this; |