All Versions
31
Latest Version
Avg Release Cycle
141 days
Latest Release
648 days ago

Changelog History
Page 2

  • v1.3.3 Changes

    August 11, 2020
    • ๐Ÿ›  Fix array to string conversion in ConstantsPass (#1086)
    • ๐Ÿ›  Fixed nullable PHP 8.0 union types (#1088)
    • ๐Ÿ›  Fixed support for PHP 8.0 parent type (#1088)
    • ๐Ÿ›  Fixed PHP 8.0 mixed type support (#1088)
    • ๐Ÿ›  Fixed PHP 8.0 union return types (#1088)

    Thanks again to @GrahamCampbell

  • v1.3.2 Changes

    July 09, 2020
    • ๐Ÿ›  Fix mocking with anonymous classes (#1039)
    • ๐Ÿ›  Fix andAnyOthers() to properly match earlier expectations (#1051)
    • โž• Added provisional support for PHP 8.0 (#1068, #1072,#1079)
    • ๐Ÿ›  Fix mocking methods with iterable return type without specifying a return value (#1075)
  • v1.3.1 Changes

    December 26, 2019
    • โช Revert improved exception debugging due to BC breaks (#1032)
  • v1.3.0 Changes

    November 24, 2019
    • โž• Added capture Mockery::capture convenience matcher (#1020)
    • โž• Added andReturnArg to echo back an argument passed to a an expectation (#992)
    • ๐Ÿ‘Œ Improved exception debugging (#1000)
    • ๐Ÿ›  Fixed andSet to not reuse properties between mock objects (#1012)
  • v1.2.4 Changes

    September 30, 2019

    ๐Ÿ›  Fix a bug introduced with previous release, for empty method definition lists (#1009)

  • v1.2.3 Changes

    August 07, 2019
    • ๐Ÿ‘ Allow mocking classes that have allows and expects methods (#868)
    • Allow passing thru __call method in all mock types (experimental) (#969)
    • โž• Add support for ! to blacklist methods (#959)
    • โž• Added withSomeOfArgs to partial match a list of args (#967)
    • ๐Ÿ›  Fix chained demeter calls with type hint (#956)
  • v1.2.2 Changes

    February 13, 2019

    ๐Ÿ›  Fix a BC breaking change for PHP 5.6/PHPUnit 5.7.27 (#947)

  • v1.2.1 Changes

    February 08, 2019
    • ๐Ÿ‘Œ Support for PHPUnit 8 (#942)
    • ๐Ÿ‘ Allow mocking static methods called on instance (#938)
  • v1.2.0 Changes

    October 02, 2018
    • ๐Ÿคก Starts counting default expectations towards count (#910)
    • โž• Adds workaround for some HHVM return types (#909)
    • โž• Adds PhpStorm metadata support for autocomplete etc (#904)
    • ๐Ÿคก Further attempts to support multiple PHPUnit versions (#903)
    • ๐Ÿ‘ Allows setting constructor expectations on instance mocks (#900)
    • โž• Adds workaround for HHVM memoization decorator (#893)
  • v1.1.0 Changes

    May 08, 2018
    • ๐Ÿ‘ Allows use of string method names in allows and expects (#794)
    • ๐Ÿคก Finalises allows and expects syntax in API (#799)
    • ๐Ÿคก Search for handlers in a case instensitive way (#801)
    • ๐Ÿ—„ Deprecate allowMockingMethodsUnnecessarily (#808)
    • ๐Ÿ›  Fix risky tests (#769)
    • ๐Ÿ›  Fix namespace in TestListener (#812)
    • ๐Ÿ›  Fixed conflicting mock names (#813)
    • ๐Ÿคก Clean elses (#819)
    • โšก๏ธ Updated protected method mocking exception message (#826)
    • ๐Ÿคก Map of constants to mock (#829)
    • ๐Ÿคก Simplify foreach with in_array function (#830)
    • ๐Ÿคก Typehinted return value on Expectation#verify. (#832)
    • ๐Ÿ›  Fix shouldNotHaveReceived with HigherOrderMessage (#842)
    • ๐Ÿ—„ Deprecates shouldDeferMissing (#839)
    • โž• Adds support for return type hints in Demeter chains (#848)
    • โž• Adds shouldNotReceive to composite expectation (#847)
    • ๐Ÿ›  Fix internal error when using --static-backup (#845)
    • โž• Adds andAnyOtherArgs as an optional argument matcher (#860)
    • ๐Ÿ›  Fixes namespace qualifying with namespaced named mocks (#872)