github phpspec/prophecy v1.4.0

latest releases: v1.19.0, v1.18.0, v1.17.0...
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)

Don't miss a new prophecy release

NewReleases is sending notifications on new releases.