Le 26/05/2011 12:29, Fabien Potencier a écrit :
On 5/26/11 12:16 PM, Lukas Kahwe Smith wrote:
On 26.05.2011, at 12:14, Johannes Schmitt wrote:
Add @IgnoreAnnotation("whatever-name-causes-problems") to the doc
comment of the _class_ in which the offending annotation is being used.
that feels really cludgy to me.
That's really something we should fix. What about forcing all
annotations to use () at the end?
@Foo()
@Foo <- not an annotation anymore
That would remove almost all possible conflicts with existing phpdoc
annotations.
Fabien
This could be a solution but it breaks the BC for Doctrine as some
annotation don't have required attributes and so where used without
braces. but well, maybe the support of them could be kept in the
Doctrine BC layer, marking it as deprecated, and removing it entirely
for 3.0.x
--
Christophe | Stof
--
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