Closed Jean85 closed 4 years ago
its not related to this plugin, the methods having the docblock describing the behavior.
https://github.com/Haehnchen/idea-php-generics-plugin you can look at this plugin; some docblock are already support.
its not related to this plugin, the methods having the docblock describing the behavior.
How can you add PhpDoc yourself to methods for PHPUnit?
PHPUnit is already having the docblock: https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/Assert.php#L1324
Thank you!
I'm using static analysis (PHPStan, Psalm) on my tests, and with the appropriate extensions they are able to restrict types after I've applied assertions.
Would it be possible to do the same here? It would enable autocomplete os such variables, and suppress warning due to unknown types.