plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: Mock method autocomplete in tests

Open Wulfheart opened this issue 2 years ago • 2 comments

Feature Description

image

It would be cool to have autocompletion and refactoring options when adding method calls to a mock.

Wulfheart avatar Aug 25 '23 13:08 Wulfheart

Please check this plugin: https://plugins.jetbrains.com/plugin/9674-phpunit-enhancement

It supports Mockery.

adelf avatar Aug 25 '23 13:08 adelf

Already tried it out. Since 2022 PHPStorm even supports Mockery "natively". However, you'd still need to specify which Class you would like to mock. With the current Laravel implementation this does not work.

Thanks for your quick response though. Should have explained it more thorough before. Mea culpa.

Wulfheart avatar Aug 25 '23 13:08 Wulfheart