From 103b4e3e08d29dcc0a247418b6bf645019322824 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Nov 2017 16:01:04 +0100 Subject: add upstream patch for PHP 7.1 and 7.2 --- 5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch (limited to '5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch') diff --git a/5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch b/5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch new file mode 100644 index 0000000..7c5e58c --- /dev/null +++ b/5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch @@ -0,0 +1,28 @@ +Adapted for 0.9.0 from + + +From 5eb5154fec8b3d3df666628ba2f3636c0fa385c3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= +Date: Fri, 19 Dec 2014 12:45:34 +0100 +Subject: [PATCH] Fix potential bugs and incomplete docs + +--- + lib/Isomorphic.php | 2 +- + lib/Parser/RdfPhp.php | 2 +- + lib/Serialiser/Turtle.php | 2 +- + lib/Sparql/Client.php | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/lib/Isomorphic.php b/lib/Isomorphic.php +index ed3c5a30..ca3c59dd 100644 +--- a/lib/EasyRdf/Isomorphic.php ++++ b/lib/EasyRdf/Isomorphic.php +@@ -96,7 +96,7 @@ public static function bijectionBetween($graphA, $graphB) + if ($groundedStatementsMatch === false) { + // The grounded statements do not match + return null; +- } elseif (count($bnodesA) > 0 or count($bnodesB > 0)) { ++ } elseif (count($bnodesA) > 0 or count($bnodesB) > 0) { + // There are blank nodes - build a bi-jection + return self::buildBijectionTo($statementsA, $bnodesA, $statementsB, $bnodesB); + } else { -- cgit