Haehnchen / idea-php-phpunit-plugin

IntelliJ IDEA / PhpStorm PHPUnit Enhancement Plugin
MIT License
55 stars 11 forks source link

Assignments is TestCase::setUp should be used to infer property types #17

Closed stof closed 4 years ago

stof commented 7 years ago

PHPStorm is able to infer property types based on assignments happening in the constructor.

It would be great if the same behavior could be provided for assignments happening in the setUp method of test cases, as it is the initializer for the test case.

Haehnchen commented 4 years ago

setUp and setUpBeforeClass is supported here