Avoid triggering a deprecation notice in doctrine/collections#12238
Merged
greg0ire merged 3 commits intodoctrine:2.20.xfrom Oct 27, 2025
Merged
Avoid triggering a deprecation notice in doctrine/collections#12238greg0ire merged 3 commits intodoctrine:2.20.xfrom
greg0ire merged 3 commits intodoctrine:2.20.xfrom
Conversation
Contributor
Author
|
@greg0ire Please advise: Should I bump requirements for doctrine/collections in composer.json here? I guess I cannot, since we're still compatible with |
60148e0 to
0060f4d
Compare
This updates the code to avoid triggering the deprecation introduced in doctrine/collections#472.
0060f4d to
1865717
Compare
Member
|
That's right, you shouldn't. Not in a patch release anyway. |
Contributor
Author
|
Found doctrine/doctrine-website#485. I knew we discussed that before. So, how to make PHPStan happy when I cannot tell for sure if checking against doctrine/collections >= 2.4.0 or below that? |
Member
|
What do you mean? The CI job is installing |
greg0ire
reviewed
Oct 27, 2025
f87e380 to
da67f32
Compare
greg0ire
approved these changes
Oct 27, 2025
greg0ire
approved these changes
Oct 27, 2025
Member
|
Thanks @mpdude ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the code to avoid triggering the deprecation introduced in doctrine/collections#472.
Closes #12237.