From 69ea614d784c6e415d5360cbdcba59ba9171396e Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Wed, 30 Jul 2014 14:03:55 +0100 Subject: [PATCH] Fixing failed test. --- PHPCI/Helper/BaseCommandExecutor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Helper/BaseCommandExecutor.php b/PHPCI/Helper/BaseCommandExecutor.php index 8084cfe3..418b664f 100644 --- a/PHPCI/Helper/BaseCommandExecutor.php +++ b/PHPCI/Helper/BaseCommandExecutor.php @@ -101,7 +101,7 @@ abstract class BaseCommandExecutor implements CommandExecutor $status = proc_close($process); } - $this->lastOutput = explode(PHP_EOL, $this->lastOutput); + $this->lastOutput = array_filter(explode(PHP_EOL, $this->lastOutput)); $shouldOutput = ($this->logExecOutput && ($this->verbose || $status != 0));