This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
Releases: eloquent/phony
Releases · eloquent/phony
0.5.2
0.5.1
0.5.0
0.4.0
- [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
- [NEW] PHP 7 support.
- [NEW] Support for variadic functions (#64 - thanks @jmalloc).
- [NEW] Implemented
eventAt()
andcallAt()
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
0.2.0
- [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).