mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Stopping xdebug code coverage once it is no longer needed on CodeCoverageManager
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6793 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0d02637352
commit
a052c1c309
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ class CodeCoverageManager {
|
|||
}
|
||||
|
||||
$dump = xdebug_get_code_coverage();
|
||||
xdebug_stop_code_coverage();
|
||||
$coverageData = array();
|
||||
foreach ($dump as $file => $data) {
|
||||
if (in_array($file, $testObjectFiles)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue