This repository was archived by the owner on Jul 8, 2023. It is now read-only.
3.0.0
This release uses Phony 2.x under the hood. Check out the migration guide for Phony 2.x, which also applies to this release.
- [BC BREAK] HHVM is no longer supported (#216, #219).
- [BC BREAK] Removed
inOrderSequence,checkInOrderSequence,anyOrderSequence, andcheckAnyOrderSequencefrom the facade (#215). - [BC BREAK] Stubs created outside of a mock now have their "self" value set to the stub itself, instead of the stubbed callback (#226).
- [NEW] Implemented
anInstanceOf()(#220). - [NEW] Implemented
emptyValue()(#218). - [IMPROVED] Support for PHP 7.2 features, including the
objecttypehint (#224). - [IMPROVED] Improved the error message produced when a default return value cannot be produced, because the return type is a final class (#228).
- [IMPROVED] Reduced the amount of output generated when mocks, stubs, and spies are encountered by
var_dump()(#223).