[PR #61] [MERGED] Updated the EntityGenerator to be compatible with Common 3.0.x #7654

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/61
Author: @stof
Created: 5/25/2011
Status: Merged
Merged: 6/11/2011
Merged by: @beberlei

Base: masterHead: EntityGenerator_3


📝 Commits (1)

  • 693fc09 Updated the EntityGenerator to be compatible with Common 3.0.x

📊 Changes

1 file changed (+24 additions, -12 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+24 -12)

📄 Description

This updates the EntityGenerator to work with Common 3.0.x by importing the annotation namespace as ORM and prefixing all entities with ORM\. The use statement is added in all cases to keep the code simple as it does not hurt on older versions of Common.


🔄 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/61 **Author:** [@stof](https://github.com/stof) **Created:** 5/25/2011 **Status:** ✅ Merged **Merged:** 6/11/2011 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `EntityGenerator_3` --- ### 📝 Commits (1) - [`693fc09`](https://github.com/doctrine/orm/commit/693fc090b5bfd97c2cab97d6a327162c8d4364c1) Updated the EntityGenerator to be compatible with Common 3.0.x ### 📊 Changes **1 file changed** (+24 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+24 -12) </details> ### 📄 Description This updates the EntityGenerator to work with Common 3.0.x by importing the annotation namespace as `ORM` and prefixing all entities with `ORM\`. The use statement is added in all cases to keep the code simple as it does not hurt on older versions of Common. --- <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:56:12 +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#7654