Skip to content

Erlaube die Verwendung von doctrine/collections: ^3.0 - #95

Merged
mpdude merged 2 commits into
mainfrom
allow-doctrine-collections-3
Nov 26, 2026
Merged

mpdude merged 2 commits into
mainfrom
allow-doctrine-collections-3

Conversation

@mpdude

@mpdude mpdude commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Die hier genutzten Teile der Collections API sind nicht von Änderungen betroffen.

Doctrine ORM 3.7+ already supports doctrine/collections 3.x, and nothing
in this bundle's usage of the Collections API hits a breaking change
between 2.x and 3.0.

The only effect of resolving to collections 3.x was a new deprecation
notice, because `Criteria::create()` now treats its former
`$accessRawFieldValues` argument as a deprecated no-op. Older,
still-supported collections versions (2.4 up to <3.0) still need that
argument to avoid their own deprecation about not opting in to raw
field access, so `createLocaleCriteria()` now detects at runtime which
behaviour the installed collections version expects.
Accepting the one deprecation notice doctrine/collections 3.x emits
here is simpler than detecting at runtime which collections version
is installed.
@mpdude mpdude changed the title Allow doctrine/collections ^3.0 Erlaube die Verwendung von doctrine/collections: ^3.0 Nov 26, 2026
@mpdude
mpdude merged commit 2fe1162 into main Nov 26, 2026
8 checks passed
@mpdude
mpdude deleted the allow-doctrine-collections-3 branch November 26, 2026 10:53
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.

1 participant