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

Tags: eloquent/phony

Tags

5.0.2

Toggle 5.0.2's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
5.0.2

- **[FIXED]** An exception is no longer thrown under non-CLI SAPIs when
  detecting ANSI color support (#252 - thanks @yanneg).

5.0.1

Toggle 5.0.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
5.0.1

- **[FIXED]** Functions and methods with "unavailable" default values no longer
  cause exceptions to be thrown when attempting to determine the default value.

5.0.0

Toggle 5.0.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
5.0.0

- **[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.

4.0.1

Toggle 4.0.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
4.0.1

- **[FIXED]** Nullable variadics can now be mocked (#248 - thanks @keksa).

4.0.0

Toggle 4.0.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
4.0.0

- **[BC BREAK]** PHP 7.1 is no longer supported.
- **[NEW]** Added support for specifying ad-hoc mock property types (#247).
- **[IMPROVED]** Improved exporter output for array references (#244).
- **[IMPROVED]** Improved exporter output for weak references (#245).
- **[IMPROVED]** Improved type hints and type declarations for better integration with PHPStan.

3.2.0

Toggle 3.2.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
3.2.0

- **[IMPROVED]** Compatibility with the current PHP 7.4 release candidate (#246).

3.1.0

Toggle 3.1.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
3.1.0

- **[IMPROVED]** Support for PHP 7.3 features (#239).

3.0.1

Toggle 3.0.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
3.0.1

- **[FIXED]** Fixed a bug where creating handles for uncallable methods with final class return types would throw exceptions (#237 - thanks @pmall).

3.0.0

Toggle 3.0.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
3.0.0

See the migration guide for detailed upgrade information.

- **[BC BREAK]** PHP 7.0 is no longer supported (#233).
- **[BC BREAK]** An explicit argument is now required in `setUseColor()`.
- **[BC BREAK]** The `handle->clazz()` method was renamed to `handle->class()`.

2.0.1

Toggle 2.0.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
2.0.1

- **[IMPROVED]** Added the [Phony and Kahlan by example] guide.

[phony and kahlan by example]: http://eloquent-software.com/phony/2.0/kahlan-by-example