Skip to content

[Form] Don't call the constructor of LogicalOr #58316

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 19, 2024

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues N/A
License MIT

This PR fixes an incompatibility of our ConstraintValidatorTestCase with PHPUnit 11. In PHPUnit 11, the constructors of LogicalOr and friends are protected. The static constructor fromConstraints() is the proper replacement and has existed since PHPUnit 6.

@carsonbot

This comment was marked as resolved.

@derrabus derrabus changed the base branch from 7.2 to 5.4 September 19, 2024 08:34
@derrabus derrabus modified the milestones: 7.2, 5.4 Sep 19, 2024
@derrabus derrabus closed this Sep 19, 2024
@derrabus derrabus reopened this Sep 19, 2024
@derrabus derrabus merged commit 8797be8 into symfony:5.4 Sep 19, 2024
13 of 20 checks passed
@derrabus derrabus deleted the chore/logical-or branch September 19, 2024 08:55
This was referenced Sep 21, 2024
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