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

Root namespace in expand_fqcn/find_use #155

Open
RLievaart opened this issue Jun 7, 2024 · 0 comments
Open

Root namespace in expand_fqcn/find_use #155

RLievaart opened this issue Jun 7, 2024 · 0 comments

Comments

@RLievaart
Copy link

If I have a class definition without a namespace (in the top directory of my autoload dir), the namespace shoud be \ in expand_fqcn and find_use, instead I get \class_name as namespace:

I.e. when the cursor is on system in system::doSystemStuff() I get \system\system::doSystemStuff() instead of the expected \system::doSystemStuff(). Or use system\system instead of use system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant