All Versions
41
Latest Version
Avg Release Cycle
87 days
Latest Release
842 days ago

Changelog History
Page 2

  • v1.10.1 Changes

    December 22, 2019
    • ๐Ÿ›  [fixed] identical callables no longer match as arguments (@ciaranmcnulty)
  • v1.10.0 Changes

    December 17, 2019
    • [added] shouldHaveBeenCalled evaluation happens later so un-stubbed calls don't throw (@elvetemedve)
    • [added] methods can now be doubled case-insensitively to match PHP semantics (@michalbundyra)
    • ๐Ÿ›  [fixed] reduced memory usage by optimising CachedDoubler (@DonCallisto)
    • ๐Ÿšš [fixed] removed fatal error nesting level when comparing large objects (@scroach)
  • v1.9.0 Changes

    October 03, 2019
    • [added] Add willYield feature to Method Prophecy(@tkotosz)
    • ๐Ÿ›  [fixed] Allow MethodProphecy::willThrow() to accept Throwable as string (@timoschinkel )
    • ๐Ÿ›  [fixed] Allow new version of phpdocumentor/reflection-docblock (@ricpelo)
  • v1.8.1 Changes

    June 13, 2019
    • ๐Ÿ›  [fixed] Don't try to patch final constructors (@nir)
  • v1.8.0 Changes

    August 05, 2018
    • ๐Ÿ‘Œ Support for void return types without explicit will (@crellbar)
    • Clearer error message for unexpected method calls (@meridius)
    • Clearer error message for aggregate exceptions (@meridius)
    • More verbose shouldBeCalledOnce expectation (@olvlvl)
    • Ability to double Throwable, or methods that extend it (@ciaranmcnulty)
    • ๐Ÿ›  [fixed] Doubling methods where class has additional arguments to interface (@webimpress)
    • 0๏ธโƒฃ [fixed] Doubling methods where arguments are nullable but default is not null (@webimpress)
    • ๐Ÿ›  [fixed] Doubling magic methods on parent class (@dsnopek)
    • ๐Ÿ›  [fixed] Check method predictions only once (@dontub)
    • ๐Ÿ›  [fixed] Argument::containingString throwing error when called with non-string (@dcabrejas)
  • v1.7.6 Changes

    April 18, 2018
  • v1.7.5 Changes

    February 19, 2018
    • ๐Ÿ‘Œ Support for object return type hints (thanks @greg0ire)
  • v1.7.4 Changes

    February 11, 2018
    • ๐Ÿ›  Fix issues with PHP 7.2 (thanks @greg0ire)
    • ๐Ÿ‘Œ Support object type hints in PHP 7.2 (thanks @@jansvoboda11)
  • v1.7.3 Changes

    November 24, 2017
    • ๐Ÿ›  Fix SplInfo ClassPatch to work with Symfony 4 (Thanks @gnugat)
  • v1.7.2 Changes

    September 05, 2017
    • โช Reverted "check method predictions only once" due to it breaking Spies