Codeception / Codeception/Stub

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

Aperta
#36 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
301
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.