Closed Haehnchen closed 4 years ago
Thank you @stof !
I confirm that the problem is resolved with some token (eg. no more PhpStrictTypeCheckingInspection
warnings using Argument::any()
)
$this->calculatorMock
->square(Argument::any())
->willReturn(64);
but different warnings still remain (eg. PhpParamsInspection
passing only Argument::cetera()
in a method with multiple arguments)
/** @noinspection PhpParamsInspection */
$this->calculatorMock
->add(Argument::cetera())
->willReturn(42);
It's a big improvement anyway! :clap:
This fixes #12 but not #29 as it does not support all tokens.