diff --git a/ChangeLog-7.2.md b/ChangeLog-7.2.md index 1294fc907d8..0b1a1397d6f 100644 --- a/ChangeLog-7.2.md +++ b/ChangeLog-7.2.md @@ -2,6 +2,12 @@ All notable changes of the PHPUnit 7.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## [7.2.7] - 2018-MM-DD + +### Fixed + +* Fixed [#3189](https://github.com/sebastianbergmann/phpunit/issues/3189): PHPUnit 7.2 potentially leaves a messy libxmlerror state + ## [7.2.6] - 2018-06-21 ### Fixed @@ -59,6 +65,7 @@ All notable changes of the PHPUnit 7.2 release series are documented in this fil * Fixed [#3069](https://github.com/sebastianbergmann/phpunit/issues/3069): Method `ResultPrinter::printWaitPrompt()` seems to be unused +[7.2.7]: https://github.com/sebastianbergmann/phpunit/compare/7.2.6...7.2.7 [7.2.6]: https://github.com/sebastianbergmann/phpunit/compare/7.2.5...7.2.6 [7.2.5]: https://github.com/sebastianbergmann/phpunit/compare/7.2.4...7.2.5 [7.2.4]: https://github.com/sebastianbergmann/phpunit/compare/7.2.3...7.2.4 diff --git a/src/Util/Configuration.php b/src/Util/Configuration.php index 0192fe1996c..270e1ef7e54 100644 --- a/src/Util/Configuration.php +++ b/src/Util/Configuration.php @@ -1025,6 +1025,7 @@ private function validateConfigurationAgainstSchema(): void $this->document->schemaValidate($xsdFilename); $this->errors = \libxml_get_errors(); + \libxml_clear_errors(); \libxml_use_internal_errors($original); }