diff options
author | Remi Collet <remi@remirepo.net> | 2017-11-02 16:01:04 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-11-02 16:01:04 +0100 |
commit | 103b4e3e08d29dcc0a247418b6bf645019322824 (patch) | |
tree | 48531b1b62b6d05b26dbbf6c7470d60609474605 /5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch | |
parent | b7e92754edf6b53aaf6e4d52f0c512ca564104ad (diff) |
add upstream patch for PHP 7.1 and 7.2
Diffstat (limited to '5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch')
-rw-r--r-- | 5eb5154fec8b3d3df666628ba2f3636c0fa385c3.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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?= <thiemo.maettig@wikimedia.de> +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 { |