Skip to content

Commit 0b1e4db

Browse files
authored
Merge pull request #104 from danitome24/102-fix-coverage
#102 - Coverage fixed
2 parents 5cdb0c1 + 60d7653 commit 0b1e4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpGitHooks/Module/PhpUnit/Infrastructure/Tool/StrictCoverageProcessor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(ToolPathFinder $toolPathFinder)
2929
public function process()
3030
{
3131
$tool = $this->toolPathFinder->find('phpunit');
32-
$command = 'php '.$tool.' --coverage-text|grep Classes|cut -d " " -f 4|cut -d "%" -f 1';
32+
$command = 'php '.$tool.' --coverage-text|grep Classes|cut -d " " -f 5|cut -d "%" -f 1';
3333

3434
$process = new Process($command);
3535
$process->run();

0 commit comments

Comments
 (0)