Skip to content


DCOM-236: @Target isn't properly bitmasked #544

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user jaytaph:

The @target annotation can be used for adding annotation-targets. However, adding multiple targets results in unwanted behaviour, as the targets aren't OR'ed together, but simply added.

For instance: @target({METHOD, METHOD}) results in an annotation that can only be added to properties (2 + 2 = 4), instead of the wanted 2, and other weirdness.


Comment created by @ocramius:

Merged: doctrine/annotations@c1a3876

Note: no assigned fix version since doctrine/annotation versioning diverges from doctrine/common versioning.

Likely fixed with doctrine/annotations:1.1.3


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.