Closed digibeuk closed 4 years ago
It seems that it works (at least the autocompletion) when you omit the "expects" method call. Tested with PHPUnit 8, phpStorm 2019.1 and PHPUnit Enhancement 3.8.
Sure, it's not handy, but better than nothing 😊
It seems that it works (at least the autocompletion) when you omit the "expects" method call. Tested with PHPUnit 8, phpStorm 2019.1 and PHPUnit Enhancement 3.8.
Sure, it's not handy, but better than nothing
Ha :smile:
But I really need the expectations
looks now to be working:
work again! Thanks very much this is a great time-saver for me!
In the past it was possible to have autocompletion in the
\PHPUnit\Framework\MockObject\Builder\InvocationMocker::method
method, i've tested this with version 3.7 en 3.8, but it does not work anymore.For instance in this example below would expect
getCurrentRequest
to get type hinted. Also refactoring > rename command from PHPStorm would rename these occurences in the past which was very handy.I saw you have an unreleased commit in master which I suspect could solve the problem