diff options
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; |