Mocks, stubs, and spies for PHP.
See the migration guide for detailed upgrade information.
inOrderSequence
, checkInOrderSequence
, anyOrderSequence
, and checkAnyOrderSequence
from the facade (#215).anInstanceOf()
(#220).emptyValue()
(#218).object
typehint (#224).var_dump()
(#223).each()
function (#217).No code changes should be required, but in some cases, the Composer package name and version constraint will need to be updated:
eloquent/phony
to
eloquent/phony-phpunit
.eloquent/peridot-phony
, change the Composer package to
eloquent/phony-peridot
.eloquent/phony
, no changes are required, but consider
trying eloquent/phony-peridot
for the added auto-wired mock support. See
the eloquent/phony-peridot repository for more information.eloquent/phony
to eloquent/phony-simpletest
.eloquent/phony
to eloquent/phony-pho
.threw()
and
receivedException()
verifications (#211).~
) to indicate truncated
content (#210).self
return type (#208).posix_isatty
warnings that occur when PHPUnit process
isolation is in use (#207 - thanks @keksa).