Skip to content
Permalink
Browse files

Merge branch '8.1'

  • Loading branch information...
sebastianbergmann committed May 20, 2019
2 parents 51a0ed4 + 5e2bff3 commit 20013f62d671a9cac6eef449694f682dc89c945d
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/Framework/TestCase.php
@@ -939,7 +939,7 @@ public function runBare(): void
$this->unregisterCustomComparators();
$this->cleanupIniSettings();
$this->cleanupLocaleSettings();
$this->cleanupLibXml();
\libxml_clear_errors();
// Perform assertion on output.
if (!isset($e)) {
@@ -2319,11 +2319,4 @@ private function isCallableTestMethod(string $dependency): bool
return TestUtil::isTestMethod($method);
}
private function cleanupLibXml(): void
{
if (\function_exists('libxml_clear_errors')) {
\libxml_clear_errors();
}
}
}

0 comments on commit 20013f6

Please sign in to comment.
You can’t perform that action at this time.