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

5.0.0

Compare
Choose a tag to compare
@ezzatron ezzatron released this 21 Dec 08:24
  • [BC BREAK] PHP 7.2 is no longer supported.
  • [NEW] Added support for PHP 8 union types (#250).
  • [NEW] Added support for PHP 8 false types (#250).
  • [NEW] Added support for PHP 8 mixed types (#250).
  • [NEW] Added support for PHP 8 static return types (#250).
  • [NEW] Added support for parent types (#250).

Known issues

  • PHP 8 named arguments are not supported.
  • No guarantees are made about which specific value will be returned from a stub (or mock method) with a union return type, when no explicit return value is specified. The value may differ depending on the order in which the union type's members appear.