Skip to content

Commit

Permalink
Closes #4572
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 1, 2021
1 parent d1a39d1 commit d648569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog-8.5.md
Expand Up @@ -7,6 +7,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil
### Fixed

* [#4535](https://github.com/sebastianbergmann/phpunit/issues/4535): `getMockFromWsdl()` does not handle methods that do not have parameters correctly
* [#4572](https://github.com/sebastianbergmann/phpunit/issues/4572): Schema validation does not work with `%xx` sequences in path to `phpunit.xsd`

## [8.5.13] - 2020-12-01

Expand Down
2 changes: 1 addition & 1 deletion src/Util/Configuration.php
Expand Up @@ -909,7 +909,7 @@ private function validateConfigurationAgainstSchema(): void
$xsdFilename = __PHPUNIT_PHAR_ROOT__ . '/phpunit.xsd';
}

$this->document->schemaValidate($xsdFilename);
$this->document->schemaValidateSource(\file_get_contents($xsdFilename));
$this->errors = \libxml_get_errors();
\libxml_clear_errors();
\libxml_use_internal_errors($original);
Expand Down

0 comments on commit d648569

Please sign in to comment.