Deprecation warnings
When invoking getFunctionMock I am getting the following deprecation warnings.
- MockBuilder::addMethods() is deprecated and will be removed in PHPUnit 12 without replacement.
- MockBuilder::getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12 without replacement.
@esschul thanks, see: https://github.com/php-mock/php-mock-phpunit/issues/70
Thanks!
Maybe lets leave it open, as it will be easier for others to spot the issue. Still if someone will provide the fix now I can accept it, but I am not going to work on it separately before we see PHPUnit 12.
Thanks
@michalbundyra, could you please have a look at the linked draft PR and let me know what you think? Thanks!
Done in #75, thanks @crocodele !