Releases: phpspec/prophecy
Releases · phpspec/prophecy
1.15.0
1.14.0
1.14.0 / 2021/09/16
- [added] Support for static closures in will and should [@ntzm]
- [added] Allow install on PHP 8.1 (with test suite fixes) [@javer]
- [added] Support for the 'never' return type [@ciaranmcnulty]
- [fixed] Better error message when doubling intersection return types [@ciaranmcnulty]
1.13.0
- [added] willYield can now specify a return value [@camilledejoye]
- [added] Prophecy exception interfaces are explicitly Throwable [@ciaranmcnulty]
- [fixed] Argument::in() and notIn() now marked as static [@tyteen4a03]
- [fixed] Can now double unions containing false [@ciaranmcnulty]
- [fixed] Virtual magic methods with arguments are now doublable in PHP 8 [@ciaranmcnulty]
1.12.2
- [fixed] MethodNotFoundException sometimes thrown with wrong class attached [@ciaranmcnulty]
1.12.1
- [fixed] Incorrect handling of inherited 'self' return types [@ciaranmcnulty]
1.12.0
- [added] PHP 8 support [@ciaranmcnulty]
- [added] Argument::in() and Argument::notIn() [@viniciusalonso]
- [added] Support for union and mixed types [@ciaranmcnulty]
- [fixed] Issues caused by introduction of named parameters [@ciaranmcnulty]
- [fixed] Issues caused by stricter rounding [@ciaranmcnulty]
1.11.1
1.11.0
- [changed] dropped support for PHP versions earlier than 7.2 (@ciaranmcnulty)
- [fixed] removed use of Reflection APIs deprecated in PHP 8.0 (@Ayesh)
1.10.3
v1.10.2
[added] support for new versions of (@sebastianbergmann)