Skip to content

Releases: tweakers/symfony-service-mock

Support proxying final implementations of interfaces

29 Jun 06:26
e403c02
Compare
Choose a tag to compare
  • Support proxying final implementations of interfaces
  • Drops support for PHP 7 and switch to friendsofphp/proxy-manager-lts since development of ocramius/proxy-manager has halted.

Add PHP 8 support

13 Apr 06:11
28836f0
Compare
Choose a tag to compare

Support PHP 8 besides 7.2+

Use more correct proxy method

28 Jan 14:37
ad5538e
Compare
Choose a tag to compare

This code initially used a lazy-load proxy method. That seemed to work fine, but turned out to be broken with the friendsofphp/proxy-manager-lts re-implementation of ocramius/proxy-manager.

This update also updated all code to use Laminas's code-generator rather than the abandoned version of Zend.

Make proxy method names more unique to prevent collisions

22 Mar 10:19
77eaf03
Compare
Choose a tag to compare

This release makes the proxy method names more unique to prevent collisions.

This changes the signature of the MockableService-methods, so change them accordingly:

  • setAlternative() is now setAlternativeService()
  • setOriginal() is now setOriginalService()
  • reset() is now restoreOriginalService()

Note, this release also upgrades the minimum php version to 7.2

Loosen up ocramius/proxy-manager requirements

13 Dec 10:13
ffb19af
Compare
Choose a tag to compare
Merge pull request #1 from winkbrace/master

Loosen up ocramius/proxy-manager requirements and update phpunit