Implements #3048 - XML configuration is validated against the schema#3066
Closed
theseer wants to merge 3 commits intosebastianbergmann:masterfrom
theseer:implemment-3048
Closed
Implements #3048 - XML configuration is validated against the schema#3066theseer wants to merge 3 commits intosebastianbergmann:masterfrom theseer:implemment-3048
theseer wants to merge 3 commits intosebastianbergmann:masterfrom
theseer:implemment-3048
Conversation
Owner
|
Merged manually, thanks. |
owenvoke
added a commit
to owenvoke/skeleton-php
that referenced
this pull request
Jun 13, 2018
Since PHPUnit v7.2.0, the XML configuration files are now validated against the XSD file for PHPUnit. This throws an error when including the 'charset', 'yui' and 'highlight' properties on a 'log' entry. Source: sebastianbergmann/phpunit#3066
jrfnl
added a commit
to PHPCompatibility/PHPCompatibility
that referenced
this pull request
Jul 24, 2018
As of PHPUnit 7.2 the XML configuration is validated against the XSD and throws a warning. The `<log>` element should, according to the PHPUnit manual, be nested within a `<logging>` element. ``` PHPUnit 7.2.7 by Sebastian Bergmann and contributors. Warning - The configuration file did not pass validation! The following problems have been detected: Line 14: - Element 'log': This element is not expected. Test results may not be as expected. ``` From: https://travis-ci.org/PHPCompatibility/PHPCompatibility/jobs/407612965#L799-L805 Refs: * https://phpunit.readthedocs.io/en/7.1/configuration.html#logging * https://phpunit.de/manual/5.7/en/appendixes.configuration.html#appendixes.configuration.logging * sebastianbergmann/phpunit#3066 * https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-7.2.md#720---2018-06-01
owenvoke
added a commit
to owenvoke/skeleton-php
that referenced
this pull request
Jun 11, 2019
Since PHPUnit v7.2.0, the XML configuration files are now validated against the XSD file for PHPUnit. This throws an error when including the 'charset', 'yui' and 'highlight' properties on a 'log' entry. Source: sebastianbergmann/phpunit#3066
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.