mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #35] [MERGED] prevent backup file to be recognized as valid Entity file #7620
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/35
Author: @brikou
Created: 3/15/2011
Status: ✅ Merged
Merged: 5/12/2011
Merged by: @beberlei
Base:
master← Head:master📝 Commits (1)
9a8e8ceEdited lib/Doctrine/ORM/Tools/EntityGenerator.php via GitHub📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+1 -1)📄 Description
when using symfony command "./app/console doctrine:generate:entities MyHelloBundle", backup file are detected as "running" Entities and I get "PHP Fatal error: Cannot redeclare class..."
When adding ~ at the end it is now fine (even for the IDE parser) and follow vim backup convention
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.