mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +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 {
|
||||
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