[PR #49] [MERGED] [DDC-1134] Entity generator: Namespace parsing fix #7640

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/49
Author: @fabpot
Created: 4/30/2011
Status: Merged
Merged: 4/30/2011
Merged by: @guilhermeblanco

Base: 2.0.xHead: namespace-parsing-fix


📝 Commits (1)

  • 2978cad Fix namespace/class parsing in the entity generator

📊 Changes

2 files changed (+76 additions, -10 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+28 -10)
📝 tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php (+48 -0)

📄 Description

The entity generator is not able to parse the namespace/class of existing entities in many cases. This makes the parsing more robust (see unit tests).


🔄 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/49 **Author:** [@fabpot](https://github.com/fabpot) **Created:** 4/30/2011 **Status:** ✅ Merged **Merged:** 4/30/2011 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `2.0.x` ← **Head:** `namespace-parsing-fix` --- ### 📝 Commits (1) - [`2978cad`](https://github.com/doctrine/orm/commit/2978cad1985b9f029b2c62645d6e1aac2373acbe) Fix namespace/class parsing in the entity generator ### 📊 Changes **2 files changed** (+76 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+28 -10) 📝 `tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php` (+48 -0) </details> ### 📄 Description The entity generator is not able to parse the namespace/class of existing entities in many cases. This makes the parsing more robust (see unit tests). --- <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: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#7640