Allow ORM 2.5 to work with Common 2.7 #5351

Closed
opened 2026-01-22 15:05:13 +01:00 by admin · 6 comments
Owner

Originally created by @BenMorel on GitHub (Dec 18, 2016).

Originally assigned to: @Ocramius on GitHub.

doctrine/orm currently requires:

"doctrine/common": ">=2.5-dev,<2.7-dev"

Is there any reason why it's not allowed to work with doctrine/common: 2.7? This version adds support for PHP 7 and PHP 7.1 in proxy generation.

If I try to force doctrine/common: 2.7.* in my composer.json, I get downgraded to doctrine/orm: 2.4.8 and doctrine/dbal: 2.4.5, which seems a bit of a nonsense.

Originally created by @BenMorel on GitHub (Dec 18, 2016). Originally assigned to: @Ocramius on GitHub. `doctrine/orm` currently requires: "doctrine/common": ">=2.5-dev,<2.7-dev" Is there any reason why it's not allowed to work with `doctrine/common: 2.7`? This version adds support for PHP 7 and PHP 7.1 in proxy generation. If I try to force `doctrine/common: 2.7.*` in my composer.json, I get downgraded to `doctrine/orm: 2.4.8` and `doctrine/dbal: 2.4.5`, which seems a bit of a nonsense.
admin added the Duplicate label 2026-01-22 15:05:13 +01:00
admin closed this issue 2026-01-22 15:05:13 +01:00
Author
Owner

@Ocramius commented on GitHub (Dec 18, 2016):

Duplicate of #6157

We are keeping the dependency ranges on short leash due to tight coupling between these libraries (they were split from a single core, after all), so BC breaks are likely.

This may change with new major versions, but not for now.

@Ocramius commented on GitHub (Dec 18, 2016): Duplicate of #6157 We are keeping the dependency ranges on short leash due to tight coupling between these libraries (they were split from a single core, after all), so BC breaks are likely. This may change with new major versions, but not for now.
Author
Owner

@BenMorel commented on GitHub (Dec 18, 2016):

Thanks for the fast reply. Yet you merged #6156 in the 2.5 branch, does that mean we can expect 2.5.6 to be released soon with this change?

@BenMorel commented on GitHub (Dec 18, 2016): Thanks for the fast reply. Yet you merged #6156 in the `2.5` branch, does that mean we can expect `2.5.6` to be released soon with this change?
Author
Owner

@Ocramius commented on GitHub (Dec 18, 2016):

Ya

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

On Sun, Dec 18, 2016 at 2:12 PM, Benjamin Morel notifications@github.com
wrote:

Thanks for the fast reply. Yet you merged #6156
https://github.com/doctrine/doctrine2/pull/6156 in the 2.5 branch, does
that mean we can expect 2.5.6 to be released soon with this change?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6176#issuecomment-267820454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakNDo2DSq3nXu2Z23MKmbbC7Mqrj0ks5rJTFEgaJpZM4LQHtV
.

@Ocramius commented on GitHub (Dec 18, 2016): Ya Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sun, Dec 18, 2016 at 2:12 PM, Benjamin Morel <notifications@github.com> wrote: > Thanks for the fast reply. Yet you merged #6156 > <https://github.com/doctrine/doctrine2/pull/6156> in the 2.5 branch, does > that mean we can expect 2.5.6 to be released soon with this change? > > — > You are receiving this because you were assigned. > Reply to this email directly, view it on GitHub > <https://github.com/doctrine/doctrine2/issues/6176#issuecomment-267820454>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAJakNDo2DSq3nXu2Z23MKmbbC7Mqrj0ks5rJTFEgaJpZM4LQHtV> > . >
Author
Owner

@BenMorel commented on GitHub (Dec 20, 2016):

Thanks for the ORM 2.5.6 release! Any ETA for DBAL 2.5.6, by any chance?

@BenMorel commented on GitHub (Dec 20, 2016): Thanks for the ORM 2.5.6 release! Any ETA for DBAL 2.5.6, by any chance?
Author
Owner

@Ocramius commented on GitHub (Dec 23, 2016):

Will try going through the queue for DBAL on the 25th, but no promises.

@Ocramius commented on GitHub (Dec 23, 2016): Will try going through the queue for DBAL on the 25th, but no promises.
Author
Owner

@BenMorel commented on GitHub (Dec 23, 2016):

That would be great, thanks for the update!

@BenMorel commented on GitHub (Dec 23, 2016): That would be great, thanks for the update!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5351