-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema validation does not work with %xx sequences in path to phpunit.xsd #4572
Closed
Labels
Comments
sebastianbergmann
changed the title
DOMDocument::schemaValidate(): Invalid Schema
DOMDocument::schemaValidateSource() should be used instead of DOMDocument::schemaValidate()
Jan 1, 2021
sebastianbergmann
changed the title
DOMDocument::schemaValidateSource() should be used instead of DOMDocument::schemaValidate()
Schema validation does not work with %xx sequences in path to phpunit.xsd
Jan 1, 2021
This was referenced Mar 12, 2021
Closed
This was referenced Mar 18, 2021
composer(deps-dev): update phpunit/phpunit requirement from ^9.5.2 to ^9.5.3
codedge/laravel-fpdf#78
Merged
Merged
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
PHPUnit returns "Warning - The configuration file did not pass validation!" when running inside a directory containing a %xx sequence as name.
Apparently this is related to this bug https://bugs.php.net/bug.php?id=55374 and if you change this code, it works as expected:
vendor/phpunit/phpunit/src/Util/Xml/Validator.php:26
Composer info:
Current behavior
When running vendor/bin/phpunit we have this:
How to reproduce
Expected behavior
Run without warnings:
The text was updated successfully, but these errors were encountered: