summaryrefslogtreecommitdiffstats
path: root/554.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-06 08:39:43 +0100
committerRemi Collet <remi@remirepo.net>2017-11-06 08:39:43 +0100
commit31c6a03aa96748d78522e234a29e516a19b0d565 (patch)
tree14e9902aab31e9d16ea2b5f2acba6a0ffbbcf78a /554.patch
parent42c6789a4badb9dd94780d7fad3d39e72a905505 (diff)
drop patch (merged upstream)
Diffstat (limited to '554.patch')
-rw-r--r--554.patch23
1 files changed, 0 insertions, 23 deletions
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 <remi@remirepo.net>
-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"';