php-mock/php-mock-integration
Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state.
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/3.0.0...3.1.0
BC Break:
MockDelegateFunctionBuilder::build
delegate method is no longer an abstract method)$functionName argument is provided the generated class contains public method with that name without any parameters$functionName and derive arguments (not just derived arguments as before)Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...3.0.0
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...3.0.0-beta1
[!CAUTION] Actually PR #13 is a BC Break, so we are going to move it into 3.0.0 instead, so 2.5.0 is not going to be published.
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...2.5.0-beta1
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.3.0...2.4.0
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.2.1...2.3.0
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.2.0...2.2.1
Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.1.0...2.2.0
How can I help you explore Laravel packages today?