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::replaceInOrder
method 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::init
method
- smaller PHPUnit
<= 6.0
incompatibilities
- Patchwork library configuration creation to address caching issues
- really fixed the issue with locating the
vendor
folder that would generate PHP notices (thanks @sciamannikoo)
- an issue with locating the
vendor
folder that would generate PHP notices
phpunit/phpunit
required version to>=5.7
- support to replace non defined functions in tests
- expose high level API as functions on the
tad\FunctionMocker
namespace
- support for pPhpUnit version
6.0
(issue #4)
- argument setting for closure return values
- require
phpunit/phpunit
version5.4
- fallback caching path to the
init
method to avoid no caching in place at all - support for internal function replacement (issue #3)
- hard-coded
vendor
path (issue #2)
- support to replace non-defined functions
1.1.0 - 2016-06-03
- this changelog
- updated
antecedent/patchwork
dependency to1.5
- updated
phpunit/phpunit
dependency to5.4
- issue where verifying the same instance replacement would result in double instance creations