[PR #335] [MERGED] association/attribute override #8043

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/335
Author: @FabioBatSilva
Created: 4/14/2012
Status: Merged
Merged: 4/29/2012
Merged by: @guilhermeblanco

Base: masterHead: DDC-964


📝 Commits (10+)

  • 30fdf8d added support for @AssociationOverride
  • 9e010cb added xml/yml drivers
  • 3085c52 fix docblock and remove white spaces
  • 2f67750 added tags on doctrine-mapping.xsd
  • 4df3c75 added missing ''
  • 85790f0 support for attribute override
  • f63cb95 add annotations
  • 56fb103 update docblock
  • 5c7d7c6 remove duplicated 'require_once'
  • fa140d8 remove wrong conflit mark

📊 Changes

29 files changed (+1587 additions, -175 deletions)

View changed files

📝 doctrine-mapping.xsd (+33 -0)
lib/Doctrine/ORM/Mapping/AssociationOverride.php (+56 -0)
lib/Doctrine/ORM/Mapping/AssociationOverrides.php (+41 -0)
lib/Doctrine/ORM/Mapping/AttributeOverride.php (+47 -0)
lib/Doctrine/ORM/Mapping/AttributeOverrides.php (+41 -0)
📝 lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php (+90 -6)
📝 lib/Doctrine/ORM/Mapping/Column.php (+1 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php (+154 -55)
📝 lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php (+5 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php (+125 -53)
📝 lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php (+136 -51)
📝 lib/Doctrine/ORM/Mapping/JoinTable.php (+1 -1)
📝 lib/Doctrine/ORM/Mapping/MappingException.php (+22 -0)
tests/Doctrine/Tests/Models/DDC964/DDC964Address.php (+123 -0)
tests/Doctrine/Tests/Models/DDC964/DDC964Admin.php (+47 -0)
tests/Doctrine/Tests/Models/DDC964/DDC964Group.php (+70 -0)
tests/Doctrine/Tests/Models/DDC964/DDC964Guest.php (+44 -0)
tests/Doctrine/Tests/Models/DDC964/DDC964User.php (+155 -0)
📝 tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php (+125 -7)
📝 tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php (+42 -0)

...and 9 more files

📄 Description

http://www.doctrine-project.org/jira/browse/DDC-964
#218

Hi guys

This patch adds support for AssociationOverride and AttributeOverride.
All drivers are available and some code are changed.

Please take a look again. =)

Thanks


🔄 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/335 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 4/14/2012 **Status:** ✅ Merged **Merged:** 4/29/2012 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `DDC-964` --- ### 📝 Commits (10+) - [`30fdf8d`](https://github.com/doctrine/orm/commit/30fdf8dd1b57c4fbb9b04368a63167024746efcb) added support for @AssociationOverride - [`9e010cb`](https://github.com/doctrine/orm/commit/9e010cbd34276c03e6aa33162f4de925a383fcaf) added xml/yml drivers - [`3085c52`](https://github.com/doctrine/orm/commit/3085c52f95772afb7cce7ad8c964faf1853fbaaf) fix docblock and remove white spaces - [`2f67750`](https://github.com/doctrine/orm/commit/2f6775016558ce7dd1247ce7be5a558f0c212e2f) added tags on doctrine-mapping.xsd - [`4df3c75`](https://github.com/doctrine/orm/commit/4df3c753216d144859dd71b8f8021a01881728d1) added missing '\' - [`85790f0`](https://github.com/doctrine/orm/commit/85790f0752faa9522a47134f1948a94d6b9819ec) support for attribute override - [`f63cb95`](https://github.com/doctrine/orm/commit/f63cb95ef327d16a0e3aa6041e17cbc2eb8ee07b) add annotations - [`56fb103`](https://github.com/doctrine/orm/commit/56fb1035de1a5c909027d860586f20b206e91704) update docblock - [`5c7d7c6`](https://github.com/doctrine/orm/commit/5c7d7c6f05c763c83bc22c19c5887b88bb4bb19c) remove duplicated 'require_once' - [`fa140d8`](https://github.com/doctrine/orm/commit/fa140d8f594e11cc5ec45604350a3c97ebd6355d) remove wrong conflit mark ### 📊 Changes **29 files changed** (+1587 additions, -175 deletions) <details> <summary>View changed files</summary> 📝 `doctrine-mapping.xsd` (+33 -0) ➕ `lib/Doctrine/ORM/Mapping/AssociationOverride.php` (+56 -0) ➕ `lib/Doctrine/ORM/Mapping/AssociationOverrides.php` (+41 -0) ➕ `lib/Doctrine/ORM/Mapping/AttributeOverride.php` (+47 -0) ➕ `lib/Doctrine/ORM/Mapping/AttributeOverrides.php` (+41 -0) 📝 `lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php` (+90 -6) 📝 `lib/Doctrine/ORM/Mapping/Column.php` (+1 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php` (+154 -55) 📝 `lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php` (+5 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php` (+125 -53) 📝 `lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php` (+136 -51) 📝 `lib/Doctrine/ORM/Mapping/JoinTable.php` (+1 -1) 📝 `lib/Doctrine/ORM/Mapping/MappingException.php` (+22 -0) ➕ `tests/Doctrine/Tests/Models/DDC964/DDC964Address.php` (+123 -0) ➕ `tests/Doctrine/Tests/Models/DDC964/DDC964Admin.php` (+47 -0) ➕ `tests/Doctrine/Tests/Models/DDC964/DDC964Group.php` (+70 -0) ➕ `tests/Doctrine/Tests/Models/DDC964/DDC964Guest.php` (+44 -0) ➕ `tests/Doctrine/Tests/Models/DDC964/DDC964User.php` (+155 -0) 📝 `tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php` (+125 -7) 📝 `tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php` (+42 -0) _...and 9 more files_ </details> ### 📄 Description http://www.doctrine-project.org/jira/browse/DDC-964 #218 Hi guys This patch adds support for AssociationOverride and AttributeOverride. All drivers are available and some code are changed. Please take a look again. =) Thanks --- <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:58:07 +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#8043