Haehnchen / idea-php-phpunit-plugin

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

Argument::cetra() should supress warnings about missing parameters #41

Open djmarland opened 5 years ago

djmarland commented 5 years ago

screenshot 2018-12-04 at 13 25 08

Using Argument::cetra() from Prophecy allows you to bypass required parameters in assertions. This is particularly useful when saying shouldNotBeCalled as you want to catch any and all parameters. When using cetra the Required Parameter missing warning becomes redundant. Can it be surpressed?

Haehnchen commented 4 years ago

checked, but looks not possible so far