Stub icon indicating copy to clipboard operation
Stub copied to clipboard

Ability to specify the arguments of Generator::getMock like $callOriginalClone, $callAutoload, ...etc.

Open tkfm-yamaguchi opened this issue 4 years ago • 0 comments

So far, we cannot specify the third and subsequent arguments of Generator::getMock. It causes unexpected result in some case, i.e. $cloneArguments is always true so comparison like with would be failed like the issue below: https://github.com/sebastianbergmann/phpunit-mock-objects/issues/348

Is it possible to specify those parameters by Codeception's Stub?

tkfm-yamaguchi avatar Sep 01 '21 01:09 tkfm-yamaguchi