New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AnnotationReader] Traits Composed from Traits #81
Labels
Comments
hboomsma
pushed a commit
to hboomsma/annotations
that referenced
this issue
Oct 27, 2016
Use statements are now also imported for properties and methods from traits in traits. Conflict resolution and aliases are respected. For backwards compatibility reasons the use statements from the declaring class are still merged. PHP itself does not show this behaviour regarding to imported types in traits.
hboomsma
pushed a commit
to hboomsma/annotations
that referenced
this issue
Oct 27, 2016
Use statements are now also imported for properties and methods from traits in traits. Conflict resolution and aliases are respected. For backwards compatibility reasons the use statements from the declaring class are still merged. PHP itself does not show this behaviour regarding to imported types in traits.
hboomsma
pushed a commit
to hboomsma/annotations
that referenced
this issue
Oct 27, 2016
Use statements are now also imported for properties and methods from traits in traits. Conflict resolution and aliases are respected. For backwards compatibility reasons the use statements from the declaring class are still merged. PHP itself does not show this behaviour regarding to imported types in traits.
Any workaround? :/ |
@Ocramius Thanks, I had opened many tabs with same title and overlooked that one! 👍 |
Just a quick referencing of issues on the same topic
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @sofakartoffel on June 23, 2015 15:34
The AnnotationReader does not use the imports from Traits inside of other Traits.
e.g.:
Copied from original issue: doctrine/common#370
The text was updated successfully, but these errors were encountered: