Skip to content

1.1.0

Compare
Choose a tag to compare
@jrfnl jrfnl released this 16 Nov 23:26
· 43 commits to main since this release
f319edb

Added

  • Helper functions for on-the-fly creation of opaque test doubles for unavailable classes for use with Mockery. PR #40
    The default Mockery mocks for unavailable classes do not allow for the dynamic property deprecation in PHP 8.2, which can cause tests to error out.
    These helper functions can be used to create test doubles which do allow for setting properties.
    The helper functions can be called from within a test bootstrap or from within a test class.
    For full details about these new functions, why they exist and how to use them, please see the documentation in the README.

Changed