Add autocomplete for class variables initialized in setUp() similar to the ones initialized in __construct().
Example:
class someTest extends .... {
private $var;
function setUp() {
$this->var = new SomeClass();
}
function testSomething() {
$this->var->[expect autocomplete here with the methods of SomeClass]
}
}
Add autocomplete for class variables initialized in setUp() similar to the ones initialized in __construct().
Example:
class someTest extends .... {
private $var;
function setUp() {
$this->var = new SomeClass();
}
function testSomething() {
$this->var->[expect autocomplete here with the methods of SomeClass]
}
}