Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@ezzatron ezzatron released this 29 Sep 01:44
· 352 commits to main since this release

See the migration guide for detailed upgrade information.

  • [BC BREAK] PHP 5 is no longer supported (#216).
  • [BC BREAK] HHVM is no longer supported (#216, #219).
  • [BC BREAK] Removed inOrderSequence, checkInOrderSequence, anyOrderSequence, and checkAnyOrderSequence 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).