You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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.