mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 15:02:22 +01:00
DDC-771: EntityGenerator generates wrong use statement in entity file #950
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?
Originally created by @doctrinebot on GitHub (Aug 27, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user martinsrom:
If I use EntityGenerator with class to extend 'Extension\Doctrine\ORM\ActiveEntity\ActiveEntity' in generated files I have this use statement:
and php ends with error. I think the use statement should look like:
After I repaired this function it works ok:
to
I'am not sure if it is bug or I am doing something wrong.
@doctrinebot commented on GitHub (Aug 28, 2010):
Comment created by @beberlei:
fixed formating
@doctrinebot commented on GitHub (Aug 28, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Aug 28, 2010):
Comment created by martinsrom:
After your fix, the EntityGenerator generates this:
and it isn't still right. There are two right posibilities:
or
@doctrinebot commented on GitHub (Aug 28, 2010):
Comment created by @beberlei:
ok, i dropped the use statement.
@doctrinebot commented on GitHub (Aug 28, 2010):
Issue was closed with resolution "Fixed"