This release uses Phony 5.x
and Kahlan 5.x
. There no BC breaking API
changes.
- [BC BREAK] PHP 7.2 is no longer supported.
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.
This release uses Phony 3.x
under the hood. Check out the
migration guide for Phony 3.x
, which also applies to this
release.
- [BC BREAK] PHP 7.0 is no longer supported.
- [FIXED] Updated Kahlan configuration examples to work with Kahlan lazy autoloading (#1).
- [IMPROVED] Updated to use the
4.x
stable version of Kahlan.
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] Support for the PHP 7.1
iterable
typehint in automatically injected suites and tests. - [IMPROVED] Reduced the amount of output generated when mocks, stubs, and
spies are encountered by
var_dump()
(#223).
- [NEW] Support for auto-wired test dependencies.
- [NEW] Initial release.