Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Fix #135.

  • Loading branch information...
commit e2f449c176bdf9582a2abc346ab5f6f41948ba6d 1 parent 1390c22
@sebastianbergmann authored
Showing with 1 addition and 10 deletions.
  1. +1 −10 PHPUnit/Framework/TestResult.php
View
11 PHPUnit/Framework/TestResult.php
@@ -515,12 +515,7 @@ public function run(PHPUnit_Framework_Test $test)
restore_error_handler();
}
- $xdebugLoaded = extension_loaded('xdebug');
- $xdebugEnabled = $xdebugLoaded && xdebug_is_enabled();
-
- if ($xdebugEnabled) {
- xdebug_disable();
- }
+ $xdebugLoaded = extension_loaded('xdebug');
$useXdebug = ($xdebugLoaded && $this->collectCodeCoverageInformation && !$test instanceof PHPUnit_Extensions_SeleniumTestCase);
@@ -557,10 +552,6 @@ public function run(PHPUnit_Framework_Test $test)
}
}
- if ($xdebugEnabled) {
- xdebug_enable();
- }
-
if ($errorHandlerSet === TRUE) {
restore_error_handler();
}
Please sign in to comment.
Something went wrong with that request. Please try again.