DCOM-55: Ugly problems with default import __NAMESPACE__ when it contains non-annotation classes that are docblock props #655

Closed
doctrinebot opened this Issue Jun 29, 2011 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

Say you have a class "Entity".

Then /*** @Entity **/ on a class in the same namespace will try to instantiate Entity.

We should avoid this by testing if Entity is a subclass of \Doctrine\Common\Annotations\Annotation

@doctrinebot

Comment created by @beberlei:

Actually this problem is more problematic, we have to enforce extending \Doctrine\Common\Annotations\Annotation for ALL annotations.

@doctrinebot

Comment created by @beberlei:

Fixed.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment