All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Support for PHP 8.4. (thanks @kagg-design)
- The minimum required PHP version is now 7.2.
- PHP 8 compatibility and test coverage (thanks @kagg-design)
- Windows compatibility issues (thanks @kagg-design)
- the
FunctionMocker::replaceInOrdermethod to return values from a set from a replaced function or static method, thanks @wppunk, fixes #11
- compatibility with PHPUnit 6.0+
- an issue where Patchwork cache would generate a fatal on Windows machines
- issue that would generate en exception when providing an empty configuration to the
FunctionMocker::initmethod
- smaller PHPUnit
<= 6.0incompatibilities
- Patchwork library configuration creation to address caching issues
- really fixed the issue with locating the
vendorfolder that would generate PHP notices (thanks @sciamannikoo)
- an issue with locating the
vendorfolder that would generate PHP notices
phpunit/phpunitrequired version to>=5.7
- support to replace non defined functions in tests
- expose high level API as functions on the
tad\FunctionMockernamespace
- support for pPhpUnit version
6.0(issue #4)
- argument setting for closure return values
- require
phpunit/phpunitversion5.4
- fallback caching path to the
initmethod to avoid no caching in place at all - support for internal function replacement (issue #3)
- hard-coded
vendorpath (issue #2)
- support to replace non-defined functions
1.1.0 - 2016-06-03
- this changelog
- updated
antecedent/patchworkdependency to1.5 - updated
phpunit/phpunitdependency to5.4
- issue where verifying the same instance replacement would result in double instance creations