mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding clear to CodeCoverageManager.
This commit is contained in:
parent
d7164c416e
commit
645807211b
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,6 @@ class CodeCoverageManager {
|
|||
}
|
||||
}
|
||||
$dump = xdebug_get_code_coverage();
|
||||
xdebug_stop_code_coverage();
|
||||
$coverageData = array();
|
||||
foreach ($dump as $file => $data) {
|
||||
if (in_array($file, $testObjectFiles)) {
|
||||
|
@ -240,6 +239,7 @@ class CodeCoverageManager {
|
|||
break;
|
||||
}
|
||||
}
|
||||
CodeCoverageManager::clear();
|
||||
|
||||
if ($output) {
|
||||
echo $result;
|
||||
|
|
Loading…
Reference in a new issue