Skip to content

Latest commit

 

History

History
100 lines (78 loc) · 3.3 KB

changelog.md

File metadata and controls

100 lines (78 loc) · 3.3 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Added

  • PHP 8 compatibility and test coverage (thanks @kagg-design)

Fixed

  • Windows compatibility issues (thanks @kagg-design)

Added

  • the FunctionMocker::replaceInOrder method to return values from a set from a replaced function or static method, thanks @wppunk, fixes #11

Fixed

  • compatibility with PHPUnit 6.0+
  • an issue where Patchwork cache would generate a fatal on Windows machines

Fixed

  • issue that would generate en excpetion when providing an empty configuration to the FunctionMocker::init method

Fixed

  • smaller PHPUnit <= 6.0 incompatibilities

Fixed

  • Patchwork library configuration creation to address caching issues

Fixed

  • really fixed the issue with locating the vendor folder that would generate PHP notices (thanks @sciamannikoo)

Fixed

  • an issue with locating the vendor folder that would generate PHP notices

Changed

  • phpunit/phpunit required version to >=5.7

Added

  • support to replace non defined functions in tests
  • expose high level API as functions on the tad\FunctionMocker namespace

Added

  • support for pPhpUnit version 6.0 (issue #4)

Fixed

  • argument setting for closure return values

Added

  • require phpunit/phpunit version 5.4

Added

  • fallback caching path to the init method to avoid no caching in place at all
  • support for internal function replacement (issue #3)

Fixed

  • hard-coded vendor path (issue #2)

Removed

  • support to replace non-defined functions

1.1.0 - 2016-06-03

Added

  • this changelog

Changed

  • updated antecedent/patchwork dependency to 1.5
  • updated phpunit/phpunit dependency to 5.4

Fixed

  • issue where verifying the same instance replacement would result in double instance creations