Skip to content

Root namespace in expand_fqcn/find_use #155

@RLievaart

Description

@RLievaart

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions