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.
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:
with it's respective tests:
when i'm in
Service\MyClass
and trigger 'phpunit_toggle_class_test_class' it was suppose to open the respectiveService\MyClassTest
but it it's always openning one of them:Service\MyClassTest
, even if i'm in the other classCommand\MyClass
it will open theService\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!