Skip to content
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

Fix build: Disable test assertion upon a non-mockable ClassMetadataFactory method #7449

Closed
wants to merge 1 commit into from

Conversation

Majkl578
Copy link
Contributor

ClassMetadataFactory::addDefaultDiscriminatorMap() is a private method and as such is not mockable. Older PHPUnit versions ignored this.

This is a BC break in PHPUnit 7.4: https://github.com/sebastianbergmann/phpunit/blob/7.4.0/ChangeLog-7.4.md#740---2018-10-05

@Majkl578 Majkl578 added this to the 3.0 milestone Oct 30, 2018
@Majkl578
Copy link
Contributor Author

Majkl578 commented Nov 2, 2018

Closing this in favor of #7457.

@Majkl578 Majkl578 closed this Nov 2, 2018
@Majkl578 Majkl578 removed the request for review from Ocramius November 2, 2018 21:35
@greg0ire greg0ire removed this from the 3.0.0 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants