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

Releases: eloquent/phony

0.5.2

05 Nov 00:49
Compare
Choose a tag to compare
0.5.2 Pre-release
Pre-release
  • [FIXED] Fixed stripping of exception xdebug message in exporter and equal
    to matcher (#87).
  • [DOCUMENTATION] Added documentation.

0.5.1

22 Oct 03:50
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release
  • [IMPROVED] Prevent exporter and matcher from traversing into mock
    internals (#82).
  • [FIXED] Fixed assertion recording bug with noInteraction() (#83).

0.5.0

20 Oct 05:56
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release
  • [BC BREAK] Removed fullMock(), changed mock() to create full mocks,
    and added partialMock() for creating partial mocks (#73).

0.4.0

20 Oct 05:37
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release
  • [IMPROVED] Implemented new 'equal to' matcher (#70 - thanks @jmalloc).
  • [IMPROVED] Improved rendering of assertion failure messages (#71).
  • [IMPROVED] String messages now allowed by throws() (#76).
  • [FIXED] Fixed magic method mocking bug (#74).
  • [FIXED] Fixed mocking of exceptions under HHVM (#75).
  • [FIXED] Attempting to stub a final method now throws an exception (#77).

0.3.0

22 Jul 02:12
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release
  • [NEW] PHP 7 support.
  • [NEW] Support for variadic functions (#64 - thanks @jmalloc).
  • [NEW] Implemented eventAt() and callAt() for verification results
    (#17).
  • [NEW] Implemented Call::argument() (#56).
  • [NEW] Implemented MockBuilder::source() for easier debugging (#45).
  • [NEW] Implemented anyOrder() (#60).
  • [IMPROVED] Vast improvements to verification failure output (#66).
  • [IMPROVED] Allow use of phonySelf parameter everywhere (#63).
  • [IMPROVED] Optimizations to the matcher driver system (#67).
  • [IMPROVED] Optimizations to the equal to matcher (#69).
  • [IMPROVED] Calls to eval() no longer use @ suppression.

0.2.1

27 Feb 14:56
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release
  • [FIXED] Cardinality checks for received() now work as expected (#54).
  • [FIXED] Methods names are correctly treated as case-insensitive (#58).
  • [FIXED] Can mock an interface that extends Traversable (#59).
  • [FIXED] Calling of trait constructors (#61).

0.2.0

18 Nov 01:59
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
  • [BC BREAK] Renamed IDs to labels.
  • [NEW] Verify no interaction (#27).
  • [NEW] Manual constructor calling (#36, #46).
  • [NEW] Setters for labels (#35).
  • [NEW] Peridot integration (#50).
  • [NEW] Pho integration (#51).
  • [NEW] SimpleTest integration (#20).
  • [FIXED] Trait mocking is now working (#42, #49).
  • [FIXED] Stubbing interface bugs (#53).
  • [IMPROVED] Better assertion messages (#41).
  • [IMPROVED] Generator spies under HHVM (#29).
  • [IMPROVED] Better mock definition equality checking (#47).
  • [IMPROVED] Throw an exception when passing the wrong types to inOrder()
    (#52).
  • [IMPROVED] Magic 'self' parameter detection (#48).

0.1.1

26 Oct 13:13
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release
  • [IMPROVED] Performance improvements when repeatedly mocking the same
    types (#44).
  • [IMPROVED] Performance improvements when mocking large classes (#44).
  • [IMPROVED] Improved exception message when mocking an undefined type
    (#40).

0.1.0

21 Oct 04:54
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
  • [NEW] Initial implementation.