Codeception / Codeception/Stub
Ability to specify the arguments of Generator::getMock like $callOriginalClone, $callAutoload, ...etc.
Open
- Dominant language
- PHP
- Stars
- 301
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
So far, we cannot specify the third and subsequent arguments of [Generator::getMock](https://github.com/sebastianbergmann/phpunit-mock-objects/blob/0dfddc236629eb7ead4df2dfa3d79d548e011a3b/src/Generator.php#L79).
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.