Open coder966 opened 7 years ago
Thanks for reporting this!
You would only get suggestions in this case if the source code of the TestCase
class was available in your workspace (or in the stubs, I can't remember if they include phpunit).
Which version of PHPUnit are you using here?
It's PHPUnit 6.0.13 And I have the source code of PHPUnit (downloaded from Github master repo) in my workspace. Actually, if I don't have it in the workspace, the second case (in the original post) will fail, too.
Thanks for the info! This sounds like a bug regression...
I also have similar issue with auto completion on super class, the class member suggestion is working but parameter suggestion are not working.
The extension does not provide suggestions for functions or variables from the extended class inside the subclass. This happens only when there is a namespace, I suppose. I made 2 classes each one in a separate file in the same folder, then made one extend the other, and it worked. But in this case it does not:
Project size (number of files and size on disk): Only 1 file. Overview of computer specs: Intel Core i5, 4GB RAM. Your operating system: Ubuntu 16.04 64bit. Some basic steps to reproduce the issue (if possible): code above.