mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Moving CLI code coverage generation into the CliReporter.
This commit is contained in:
parent
07b43be125
commit
0803e2a5a6
1 changed files with 8 additions and 0 deletions
|
@ -152,6 +152,14 @@ class CakeCliReporter extends CakeBaseReporter {
|
||||||
} else {
|
} else {
|
||||||
fwrite(STDOUT, $buffer . $this->getPassCount() . " passes.\n" . $this->_timeStats());
|
fwrite(STDOUT, $buffer . $this->getPassCount() . " passes.\n" . $this->_timeStats());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
isset($this->params['codeCoverage']) &&
|
||||||
|
$this->params['codeCoverage'] &&
|
||||||
|
class_exists('CodeCoverageManager')
|
||||||
|
) {
|
||||||
|
CodeCoverageManager::report();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue