From 31c6a03aa96748d78522e234a29e516a19b0d565 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Nov 2017 08:39:43 +0100 Subject: drop patch (merged upstream) --- 554.patch | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 554.patch (limited to '554.patch') diff --git a/554.patch b/554.patch deleted file mode 100644 index 2869666..0000000 --- a/554.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 71d0493b6817352134317f504eb55e8ce7c7f669 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Fri, 3 Nov 2017 13:55:50 +0100 -Subject: [PATCH] Fix count(): Parameter must be an array or an object that - implements Countable - ---- - src/Report/Html/Renderer/File.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Report/Html/Renderer/File.php b/src/Report/Html/Renderer/File.php -index 8f2c929b..975bc0a0 100644 ---- a/src/Report/Html/Renderer/File.php -+++ b/src/Report/Html/Renderer/File.php -@@ -304,7 +304,7 @@ protected function renderSource(FileNode $node) - $popoverTitle = ''; - - if (array_key_exists($i, $coverageData)) { -- $numTests = count($coverageData[$i]); -+ $numTests = ($coverageData[$i] ? count($coverageData[$i]) : 0); - - if ($coverageData[$i] === null) { - $trClass = ' class="warning"'; -- cgit