[PR #12214] [MERGED] Stop using deprecated Collections constants #13579

Open
opened 2026-01-22 16:17:38 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12214
Author: @derrabus
Created: 10/9/2025
Status: Merged
Merged: 10/9/2025
Merged by: @derrabus

Base: 3.6.xHead: improvement/collections-constants


📝 Commits (1)

  • c56ab20 Stop using deprecated Collections constants

📊 Changes

5 files changed (+11 additions, -24 deletions)

View changed files

📝 src/Mapping/Driver/XmlDriver.php (+2 -11)
📝 tests/Tests/ORM/Functional/ManyToManyBasicAssociationTest.php (+2 -3)
📝 tests/Tests/ORM/Functional/Ticket/GH7820Test.php (+1 -2)
📝 tests/Tests/ORM/Mapping/XmlMappingDriverTest.php (+4 -5)
📝 tests/Tests/ORM/QueryBuilderTest.php (+2 -3)

📄 Description

The new Order enum should always be available, so we can remove the conditional fallback logic everywhere.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/12214 **Author:** [@derrabus](https://github.com/derrabus) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@derrabus](https://github.com/derrabus) **Base:** `3.6.x` ← **Head:** `improvement/collections-constants` --- ### 📝 Commits (1) - [`c56ab20`](https://github.com/doctrine/orm/commit/c56ab2004779c46834cda8fcee3f4b52909ee4b7) Stop using deprecated Collections constants ### 📊 Changes **5 files changed** (+11 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `src/Mapping/Driver/XmlDriver.php` (+2 -11) 📝 `tests/Tests/ORM/Functional/ManyToManyBasicAssociationTest.php` (+2 -3) 📝 `tests/Tests/ORM/Functional/Ticket/GH7820Test.php` (+1 -2) 📝 `tests/Tests/ORM/Mapping/XmlMappingDriverTest.php` (+4 -5) 📝 `tests/Tests/ORM/QueryBuilderTest.php` (+2 -3) </details> ### 📄 Description The new `Order` enum should always be available, so we can remove the conditional fallback logic everywhere. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:17:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13579