From a06fba34b30f2607e857c939799336b64b6fd8fa Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 27 Feb 2020 10:08:16 +0100 Subject: [PATCH 1/2] Remove abstract function Node::__construct() --- library/Businessprocess/Node.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index c7dc07d..a68adc2 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -118,8 +118,6 @@ abstract class Node 99 => 'PENDING' ); - abstract public function __construct($object); - /** * Set whether to treat acknowledged hosts/services always as UP/OK * From d2d64365b6a391b070427734e0625c1d9cc6bf91 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 27 Feb 2020 10:41:54 +0100 Subject: [PATCH 2/2] php-diff: Don't use curly braces for string offset access --- library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php b/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php index 76a314d..2607753 100644 --- a/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php +++ b/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php @@ -150,7 +150,7 @@ class Diff_Renderer_Html_Array extends Diff_Renderer_Abstract { $start = 0; $limit = min(strlen($fromLine), strlen($toLine)); - while($start < $limit && $fromLine{$start} == $toLine{$start}) { + while($start < $limit && $fromLine[$start] == $toLine[$start]) { ++$start; } $end = -1;