summaryrefslogtreecommitdiffstats
path: root/4ed264051ed407d59c2fde4128be176e96e8f22a.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-02 16:01:04 +0100
committerRemi Collet <remi@remirepo.net>2017-11-02 16:01:04 +0100
commit103b4e3e08d29dcc0a247418b6bf645019322824 (patch)
tree48531b1b62b6d05b26dbbf6c7470d60609474605 /4ed264051ed407d59c2fde4128be176e96e8f22a.patch
parentb7e92754edf6b53aaf6e4d52f0c512ca564104ad (diff)
add upstream patch for PHP 7.1 and 7.2
Diffstat (limited to '4ed264051ed407d59c2fde4128be176e96e8f22a.patch')
-rw-r--r--4ed264051ed407d59c2fde4128be176e96e8f22a.patch25
1 files changed, 25 insertions, 0 deletions
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 <alex.a.pott@googlemail.com>
+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);
+ }