[wp-trac] [WordPress Trac] #46798: PHPUnit warnings
WordPress Trac
noreply at wordpress.org
Tue May 28 23:25:30 UTC 2019
#46798: PHPUnit warnings
------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
------------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [ticket:46798 azaozz]:
> Running PHPUnit 7.5.8 (core doesn't yet support PHPUnit 8) there are a
few warnings:
>
> {{{
> PHPUnit 7.5.8 by Sebastian Bergmann and contributors.
>
> Warning - The configuration file did not pass validation!
> The following problems have been detected:
>
> Line 8:
> - Element 'testsuite': The attribute 'name' is required but missing.
>
> Line 14:
> - Element 'file': This element is not expected. Expected is ( exclude
).
>
> Line 27:
> - Element 'log', attribute 'logIncompleteSkipped': The attribute
'logIncompleteSkipped' is not allowed.
>
> Test results may not be as expected.
> }}}
Hmm, I'm pretty sure I've fixed at least two of these warnings in [44702],
see comment:34:ticket:43218.
At least `logIncompleteSkipped` should no longer be there. Are you using a
custom configuration file?
> The above failures are mostly from hard-coded line endings which fail on
Windows
Related: #31432
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46798#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list