Skip to content
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

Fails with multiple grouped use statements #159

Closed
natebrunette opened this issue Aug 8, 2018 · 5 comments
Closed

Fails with multiple grouped use statements #159

natebrunette opened this issue Aug 8, 2018 · 5 comments

Comments

@natebrunette
Copy link

When parsing multiple classes defined in a group, only the first class keeps the fully qualified namespace.

use My\Namespace\{Foo, Bar};

Will result in My\Namespace\Foo and Bar

@ragboyjr
Copy link

Just lost an hour of my life discovering this bug as well.

@ragboyjr
Copy link

@ashnazg
Copy link
Member

ashnazg commented Aug 23, 2018

If this is fixed in TypeResolver, might just need a dep version bump... should also add a specific test case here in ReflectionDocBlock though.

@jaapio
Copy link
Member

jaapio commented Aug 23, 2018

This is fixed in typeresolver. We can do a composer require update to reset the minimal required version.
0.7.0

@ashnazg
Copy link
Member

ashnazg commented Aug 23, 2018

Yep... I would still like to get a new testcase in here specifically for this scenario too.

@jaapio jaapio closed this as completed Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants