This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional test cases on how #100 affects the mock comparator a…
…nd a failing test in that regard Changing Framework/MockObject/Generator/mocked_clone.tpl.dist to: public function __clone() { if ($this->__phpunit_invocationMocker !== NULL) { $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker; } } maybe helps but the test still doesn't pass.
- Loading branch information
b167e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sebastianbergmann During fixing the issue in #100 that actually impacted a couple of real life projects I expanded on the test cases and ran into another issue.
I couldn't find any real world case where there was a problem but I've committed it for now as I'd say it's the expected behavior.
All in all it should improve the state of afairs without breaking things. I'll asks for pointers if I'll see you tomorrow