mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #50] [CLOSED] Changed the naming conventions of temporary files to avoid that they are loaded by Doctrine later on #7642
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/50
Author: @fabpot
Created: 4/30/2011
Status: ❌ Closed
Base:
2.0.x← Head:backup-files📝 Commits (1)
803b91fChanged 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.