All Versions
41
Latest Version
Avg Release Cycle
87 days
Latest Release
170 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