Add @IgnoreAnnotation("whatever-name-causes-problems") to the doc comment of
the _class_ in which the offending annotation is being used.

Johannes


On Thu, May 26, 2011 at 11:40 AM, Oleg Stepura <[email protected]>wrote:

> Hi!
>
> It took a while for me to figure out that Symfony uses IndexedReader
> which is just glue to make ORM 2.0.5 work with Common 3.0. That was
> needed to make other parts of our application (which are not yet moved
> to Symfony) to work with new Annotation Reader.
>
> But here comes another issue: Seems like new Annotation Reader tries
> to somehow evaluate some of the PHPDocblock tags we have and throws an
> exception: AnnotationException: [Semantical Error] The annotation
> "@property" in class Class was never imported.
>
> I noticed this behaviour on some tags (@package, @property) but other
> (@author 4 example) do not cause this exception to be thrown.
>
> Is there any way to make the new annotation reader skip more tags?
> Not a good decision to just remove them.
>
> Thanks!
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to