[PR #50] [CLOSED] Changed the naming conventions of temporary files to avoid that they are loaded by Doctrine later on #7642

Closed
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/50
Author: @fabpot
Created: 4/30/2011
Status: Closed

Base: 2.0.xHead: backup-files


📝 Commits (1)

  • 803b91f Changed the naming conventions of temporary files to avoid that they are loaded by Doctrine later on

📊 Changes

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

View changed files

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

📄 Description

Whenever you run the generate entities command, Doctrine creates temp files. As they end with .php, they loaded by the Doctrine later on, and this gives you an error as the class is loaded twice. Moving the ~ as the end of the file fixes this issue.


🔄 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/50 **Author:** [@fabpot](https://github.com/fabpot) **Created:** 4/30/2011 **Status:** ❌ Closed **Base:** `2.0.x` ← **Head:** `backup-files` --- ### 📝 Commits (1) - [`803b91f`](https://github.com/doctrine/orm/commit/803b91fc4d49aab30aff37bea272e51efb559430) Changed the naming conventions of temporary files to avoid that they are loaded by Doctrine later on ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+1 -1) </details> ### 📄 Description Whenever you run the generate entities command, Doctrine creates temp files. As they end with .php, they loaded by the Doctrine later on, and this gives you an error as the class is loaded twice. Moving the `~` as the end of the file fixes this issue. --- <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
admin closed this issue 2026-01-22 15:56:08 +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#7642