This release uses Phony 5.x
. There no BC breaking API changes.
- [BC BREAK] PHP 7.2 is no longer supported.
- [BC BREAK] Dropped support for PHPUnit
8.x
. - [NEW] Added support for PHPUnit
9.x
.
This release uses Phony 4.x
. There no BC breaking API changes aside from
stricter type declarations.
- [BC BREAK] PHP 7.1 is no longer supported.
- [MAINTENANCE] Updated required PHPUnit version to avoid coverage issues (#2).
This release uses Phony 3.x
under the hood. Check out the
migration guide for Phony 3.x
, which also applies to this
release.
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
, andcheckAnyOrderSequence
from 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
object
typehint (#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).
- [NEW] Support for PHPUnit 6.
- [BC BREAK] Dropped support for PHP < 7.
- [IMPROVED] Updated to use the new Phony
1.0.0
release.
- [NEW] Initial release.