Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Releases: eloquent/phony

0.14.0

30 Sep 04:45

Choose a tag to compare

0.14.0 Pre-release
Pre-release
  • [BC BREAK] Removed calledOn() (#197).
  • [IMPROVED] Generator spies and iterable spies are now substituted in
    argument matching and verification (#193).
  • [IMPROVED] Documentation improvements (#191, #192, #198).

0.13.5

20 Sep 00:53

Choose a tag to compare

0.13.5 Pre-release
Pre-release
  • [IMPROVED] Support for PHP 7.1 iterable pseudo-type (#195).
  • [IMPROVED] Support for PHP 7.1 void pseudo-type (#195).
  • [IMPROVED] Support for PHP 7.1 nullable types (#195).
  • [IMPROVED] Disallow ASCII delete in symbol names, matching the change in
    PHP 7.1 (#195).

0.13.4

17 Aug 03:56

Choose a tag to compare

0.13.4 Pre-release
Pre-release

0.13.3

07 Aug 12:52

Choose a tag to compare

0.13.3 Pre-release
Pre-release
  • [FIXED] Verification results now return call verifiers instead of
    unwrapped calls (#185).

0.13.2

04 Aug 23:50

Choose a tag to compare

0.13.2 Pre-release
Pre-release
  • [FIXED] Fixed mocking of destructors (#183).

0.13.1

02 Aug 05:38

Choose a tag to compare

0.13.1 Pre-release
Pre-release
  • [IMPROVED] Improved support for mocking many problematic classes (#182).

0.13.0

15 Jul 00:28

Choose a tag to compare

0.13.0 Pre-release
Pre-release
  • [BC BREAK] Renamed $handle->mock() to $handle->get() (#180).
  • [BC BREAK] Removed verify() and verifyStatic() (#179).
  • [BC BREAK] Removed magic calls from mock handles. All stubbing must now
    use with(), and all call argument verification must now use calledWith()
    (#179).
  • [IMPROVED] Improved exporting of mock handles, stubs, spies, and closures
    (#177).

0.12.0

13 Jul 03:51

Choose a tag to compare

0.12.0 Pre-release
Pre-release
  • [BC BREAK] Replaced the term "traversable" with "iterable". Any function
    or method with "traversable" in the name has also been renamed accordingly
    (#164).
  • [BC BREAK] Stubs now return empty values by default, instead of forwarding
    (#174).

0.11.0

12 Jul 04:57

Choose a tag to compare

0.11.0 Pre-release
Pre-release
  • [NEW] Implemented stubGlobal() (#163).
  • [NEW] Implemented spyGlobal() (#175).
  • [IMPROVED] Traversable spies now implement ArrayAccess and Countable
    (#165).

0.10.2

06 Jul 10:54

Choose a tag to compare

0.10.2 Pre-release
Pre-release
  • [IMPROVED] Complete overhaul of verification output, with improvements to
    the output of all verifications (#161, #170).
  • [IMPROVED] Improved exporting of closures under HHVM (#166).
  • [FIXED] Fixed calledOn() behavior (#160).
  • [FIXED] Fixed verification output under Windows (#167).
  • [FIXED] Error reporting is now correctly restored in all cases (#168).
  • [FIXED] Fixed the recording of static magic method calls (#169).