Prophecy v1.4.0 Release Notes

Release Date: 2015-03-27 // about 9 years ago
    • Fixed errors in return type phpdocs (thanks @sobit)
    • Fixed stringifying of hash containing one value (thanks @avant1)
    • Improved clarity of method call expectation exception (thanks @dantleech)
    • Add ability to specify which argument is returned in willReturnArgument (thanks @coderbyheart)
    • Add more information to MethodNotFound exceptions (thanks @ciaranmcnulty)
    • Support for mocking classes with methods that return references (thanks @edsonmedina)
    • Improved object comparison (thanks @whatthejeff)
    • Adopted '' in composer dependencies (thanks @GrahamCampbell)
    • Fixed non-typehinted arguments being treated as optional (thanks @whatthejeff)
    • Magic methods are now filtered for keywords (thanks @seagoj)
    • More readable errors for failure when expecting single calls (thanks @dantleech)