Blame SOURCES/71.patch

262df1
From c5f321f171783c1b088490dcaf39b0aad5eb5c13 Mon Sep 17 00:00:00 2001
262df1
From: Remi Collet <remi@remirepo.net>
262df1
Date: Thu, 12 Oct 2017 09:35:57 +0200
262df1
Subject: [PATCH] fix  Warning: count(): Parameter must be an array or an
262df1
 object that implements Countable in PEAR/RunTest.php on line 346
262df1
262df1
---
262df1
 PEAR/RunTest.php | 2 +-
262df1
 1 file changed, 1 insertion(+), 1 deletion(-)
262df1
262df1
diff --git a/PEAR/RunTest.php b/PEAR/RunTest.php
262df1
index 8eabac3c3..482beccb3 100644
262df1
--- a/PEAR/RunTest.php
262df1
+++ b/PEAR/RunTest.php
262df1
@@ -343,7 +343,7 @@ function run($file, $ini_settings = array(), $test_number = 1)
262df1
 
262df1
         // Check if test should be skipped.
262df1
         $res  = $this->_runSkipIf($section_text, $temp_skipif, $tested, $ini_settings);
262df1
-        if (count($res) != 2) {
262df1
+        if ($res == 'SKIPPED' || count($res) != 2) {
262df1
             return $res;
262df1
         }
262df1
         $info = $res['info'];