Skip to content

Releases: phpspec/prophecy

1.15.0

08 Dec 12:21
v1.15.0

Choose a tag to compare

  • [added] Support for the static return type [@denis-rolling-scopes]
  • [fixed] Add return types for Comparator implementations to avoid deprecation warnings from Symfony's DebugClassLoader [@stof]

1.14.0

10 Sep 09:04

Choose a tag to compare

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

17 Mar 13:45

Choose a tag to compare

  • [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

19 Dec 10:16
245710e

Choose a tag to compare

  • [fixed] MethodNotFoundException sometimes thrown with wrong class attached [@ciaranmcnulty]

1.12.1

29 Sep 09:11
8ce8751

Choose a tag to compare

  • [fixed] Incorrect handling of inherited 'self' return types [@ciaranmcnulty]

1.12.0

28 Sep 12:26

Choose a tag to compare

1.11.1

08 Jul 12:44
b20034b

Choose a tag to compare

  • [fixed] can't double objects with self type hints (@greg0ire)
  • [fixed] cloned doubes were not loosely comparable (@tkulka)

1.11.0

07 Jul 17:40

Choose a tag to compare

  • [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

05 Mar 16:10
v1.10.3

Choose a tag to compare

[fixed] removed fatal error when phpdocumentor/reflection-docblock 5 parses an invalid @method tag (@stof)

v1.10.2

20 Jan 15:57
b4400ef

Choose a tag to compare

[added] support for new versions of (@sebastianbergmann)