Skip to content

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Aug 8, 2020

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Part of #37564
License MIT
Doc PR N/A

PHPUnit\Util\XML, an internal PHPUnit class, is used in a couple of tests. Those tests fail on PHPUnit 9.3 because that class has been removed. This PR fixes those tests by using the new class if it's available.

If this is too much C&P, we could consider having PhpUnitBridge polyfill this call.

@fabpot
Copy link
Member

fabpot commented Aug 9, 2020

Thank you @derrabus.

@fabpot fabpot merged commit d628fcb into symfony:3.4 Aug 9, 2020
@derrabus derrabus deleted the bugfix/phpunit-xml-loader branch August 9, 2020 08:33
fabpot added a commit that referenced this pull request Aug 10, 2020
…ible (derrabus)

This PR was merged into the 3.4 branch.

Discussion
----------

Made reference to PHPUnit\Util\XML::loadfile php5-compatible

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Fixup of #37778. My code was apparently not php5-friendly. Sorry for that. 😓

Commits
-------

4bf6405 Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants