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 --- 4ed264051ed407d59c2fde4128be176e96e8f22a.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 4ed264051ed407d59c2fde4128be176e96e8f22a.patch (limited to '4ed264051ed407d59c2fde4128be176e96e8f22a.patch') diff --git a/4ed264051ed407d59c2fde4128be176e96e8f22a.patch b/4ed264051ed407d59c2fde4128be176e96e8f22a.patch new file mode 100644 index 0000000..0b6b057 --- /dev/null +++ b/4ed264051ed407d59c2fde4128be176e96e8f22a.patch @@ -0,0 +1,25 @@ +Adapted for 0.9.0 from + + +From 4ed264051ed407d59c2fde4128be176e96e8f22a Mon Sep 17 00:00:00 2001 +From: Alex Pott +Date: Sun, 29 Oct 2017 12:54:24 +0000 +Subject: [PATCH] Fix PHP 7.1 bug + +--- + lib/Serialiser/GraphViz.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Serialiser/GraphViz.php b/lib/Serialiser/GraphViz.php +index db2ae15d..7c1d8a6b 100644 +--- a/lib/EasyRdf/Serialiser/GraphViz.php ++++ b/lib/EasyRdf/Serialiser/GraphViz.php +@@ -220,7 +220,7 @@ protected function escape($input) + */ + protected function escapeAttributes($array) + { +- $items = ''; ++ $items = array(); + foreach ($array as $k => $v) { + $items[] = $this->escape($k).'='.$this->escape($v); + } -- cgit