phpspec/prophecy
Highly opinionated yet flexible PHP mocking framework for unit tests. Create test doubles with a Prophet, define expected calls and return values, then reveal mocks and verify predictions. Works with PHPUnit and other frameworks; requires PHP 7.2+.
Added:
phpdocumentor/reflection-docblock v6 (@mspirkov)Added:
Added:
Changed:
Full Changelog: https://github.com/phpspec/prophecy/compare/v1.23.0...v1.23.1
Added:
Add support for PHPUnit 12 (@jean85)
Added:
Fixed:
Added:
Full Changelog: https://github.com/phpspec/prophecy/compare/v1.18.0...v1.19.0
ObjectProphecy::getMethodProphecies [@stof]\Prophecy\Comparator\Factory as sebastian/comparator v5 makes it parent class final [@stof]static return type [@denis-rolling-scopes][fixed] removed fatal error when phpdocumentor/reflection-docblock 5 parses an invalid [@method](https://github.com/method) tag (@stof)
[added] support for new versions of (@sebastianbergmann)
shouldBeCalledOnce expectation (@olvlvl)object return type hints (thanks @greg0ire)object type hints in PHP 7.2 (thanks @@jansvoboda11)How can I help you explore Laravel packages today?