From af332916f62f832f77773bbf8be903a2f7ab900d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Feb 2020 09:07:25 +0100 Subject: v0.9.1 from Fedora --- php-EasyRdf-fix-php-7-4.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 php-EasyRdf-fix-php-7-4.patch (limited to 'php-EasyRdf-fix-php-7-4.patch') 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 +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; -- cgit