[PR #513] [MERGED] Enumeration support #8315

Open
opened 2026-01-22 15:59:20 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/513
Author: @FabioBatSilva
Created: 11/13/2012
Status: Merged
Merged: 11/15/2012
Merged by: @beberlei

Base: masterHead: annot-enum


📝 Commits (3)

📊 Changes

9 files changed (+114 additions, -29 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/ChangeTrackingPolicy.php (+5 -1)
📝 lib/Doctrine/ORM/Mapping/GeneratedValue.php (+5 -1)
📝 lib/Doctrine/ORM/Mapping/InheritanceType.php (+5 -1)
📝 lib/Doctrine/ORM/Mapping/ManyToMany.php (+29 -7)
📝 lib/Doctrine/ORM/Mapping/ManyToOne.php (+17 -4)
📝 lib/Doctrine/ORM/Mapping/OneToMany.php (+25 -6)
📝 lib/Doctrine/ORM/Mapping/OneToOne.php (+25 -6)
📝 lib/vendor/doctrine-common (+1 -1)
📝 tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php (+2 -2)

📄 Description

This patch adds support for @Enum. https://github.com/doctrine/common/pull/167

Please let me know if there is another annotations where we can use @Enum.


🔄 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/513 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 11/13/2012 **Status:** ✅ Merged **Merged:** 11/15/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `annot-enum` --- ### 📝 Commits (3) - [`a07c63d`](https://github.com/doctrine/orm/commit/a07c63dde68d38037d2ae04f67978b76c7086218) added support for @Enum - [`c1de4c5`](https://github.com/doctrine/orm/commit/c1de4c5fdab91851e8e86c085c9c344e19cb24f9) update doctrine-common - [`7782730`](https://github.com/doctrine/orm/commit/77827303d2cdb5922350dc799eec922489644fb7) Fix CS ### 📊 Changes **9 files changed** (+114 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/ChangeTrackingPolicy.php` (+5 -1) 📝 `lib/Doctrine/ORM/Mapping/GeneratedValue.php` (+5 -1) 📝 `lib/Doctrine/ORM/Mapping/InheritanceType.php` (+5 -1) 📝 `lib/Doctrine/ORM/Mapping/ManyToMany.php` (+29 -7) 📝 `lib/Doctrine/ORM/Mapping/ManyToOne.php` (+17 -4) 📝 `lib/Doctrine/ORM/Mapping/OneToMany.php` (+25 -6) 📝 `lib/Doctrine/ORM/Mapping/OneToOne.php` (+25 -6) 📝 `lib/vendor/doctrine-common` (+1 -1) 📝 `tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php` (+2 -2) </details> ### 📄 Description This patch adds support for `@Enum`. https://github.com/doctrine/common/pull/167 Please let me know if there is another annotations where we can use `@Enum`. --- <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 15:59:20 +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#8315