8000 [WebProfilerBundle] Fix Tests for PHPUnit 9.3 by derrabus · Pull Request #38077 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Fix Tests for PHPUnit 9.3 #38077

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

Merged
merged 1 commit into from
Sep 7, 2020

Conversation

derrabus
Copy link
Member
@derrabus derrabus commented Sep 6, 2020
Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #37564
License MIT
Doc PR N/A

PHPUnit's logicalXor() creates an XOR operation for one or multiple constraints. It expects the operands for that operation to be passed as variadic arguments, but this particullar test passes them in a single array.

This somewhat works on PHPUnit 8, but fails on PHPUnit 9. This PR fixes the failing test.

@fabpot
Copy link
Member
fabpot commented Sep 7, 2020

Thank you @derrabus.

@fabpot fabpot merged commit d25ea07 into symfony:4.4 Sep 7, 2020
@derrabus derrabus deleted the bugfix/webprofiler-phpunit-9.3 branch September 7, 2020 09:00
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.

4 participants
0