Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Commit d89bdee

Browse files
committed
Fixed error PHP 5.3
1 parent 72d5aa8 commit d89bdee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Command/CodeCoverage/CodeCoverage.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
7575
$source = ' '.$util->checkSource($input);
7676
}
7777

78-
(new Process('rm -rf coverage'))->run();
78+
$process = new Process('rm -rf coverage');
79+
$process->run();
7980
mkdir('coverage');
8081

8182
$cmd = $paratest.$source.' --colors --coverage-php=coverage/result.cov';
@@ -110,7 +111,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
110111
);
111112
$coverage = end($matches);
112113

113-
(new Process('rm -rf coverage'))->run();
114+
$process = new Process('rm -rf coverage');
115+
$process->run();
114116

115117
$end = microtime(true);
116118
$time = round($end - $start);

0 commit comments

Comments
 (0)