doctrine/common — Issue #108: Bug using annotation in annotation class
Author: Brouznouf
Created: 2012-02-28 00:39:04+00:00
State: open

When parsing the annotation comment to check if @Annotation is present, if we have the @ClassName Annotation in comment of ClassName this will throw an exception saying that @ClassName is not an annotation

For exemple the comment of SensioFrameworkExtraBundle Template Annotation :

/**
* The Template class handles the @Template annotation parts.
*
* @author Fabien Potencier
* @Annotation
*
*/

Is this a bug or the comment should not have @Template in his comment ?