Releases: phpspec/prophecy
Releases · phpspec/prophecy
1.10.1
- [fixed] identical callables no longer match as arguments (@ciaranmcnulty)
1.10.0
- [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)
1.9.0
- [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)
1.8.1
1.8.0
- 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
shouldBeCalledOnceexpectation (@olvlvl) - Ability to double Throwable, or methods that extend it (@ciaranmcnulty)
- [fixed] Doubling methods where class has additional arguments to interface (@webimpress)
- [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)
1.7.6
- Allow sebastian/comparator ^3.0 (@sebastianbergmann)
1.7.5
1.7.4
- Fix issues with PHP 7.2 (thanks @greg0ire)
- Support
objecttype hints in PHP 7.2 (thanks @@jansvoboda11)