Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Same class names but different namespaces not working properly #61

@marcotas

Description

@marcotas

First of all, congratulations for this awesome and helpful plugin!
There is something I thing it is simple to solve. Let's go:

If I have two classes with same name in different namespaces:

  • Service\MyClass
  • Command\MyClass

with it's respective tests:

  • Service\MyClassTest
  • Command\MyClassTest

when i'm in Service\MyClass and trigger 'phpunit_toggle_class_test_class' it was suppose to open the respective Service\MyClassTest but it it's always openning one of them: Service\MyClassTest, even if i'm in the other class Command\MyClass it will open the Service\MyClassTest.

I think it's always openning the first match in the 'phpunit_toggle_class_test_class' command. My suggestion is to show a list of options to toggle when in these cases.

I hope i was clear. Sorry about my english.

Thanks a lot!

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