Prophecy v1.8.0 Release Notes

Release Date: 2018-08-05 // over 5 years ago
    • ๐Ÿ‘Œ 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)