idea-php-phpunit-plugin icon indicating copy to clipboard operation
idea-php-phpunit-plugin copied to clipboard

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

Open djmarland opened this issue 7 years ago • 1 comments

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?

djmarland avatar Dec 04 '18 13:12 djmarland

checked, but looks not possible so far

Haehnchen avatar Apr 24 '20 16:04 Haehnchen