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

Commit

Permalink
Prepare 5.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Dec 21, 2020
1 parent ec2c679 commit 13fa8a3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Phony changelog

## 5.0.0 (2020-12-21)

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

[#250]: https://github.com/eloquent/phony/issues/250

## 4.0.1 (2020-08-29)

- **[FIXED]** Nullable variadics can now be mocked ([#248] - thanks [@keksa]).
Expand Down
14 changes: 14 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Migration guide

## Migrating from `4.x` to `5.x`

The *Phony* `5.x` release drops support for PHP 7.2. If you only need to support
PHP 7.3 or later, then it is recommended that you upgrade to *Phony* `5.x`. If
you still need to support PHP 7.2, then you are free to continue using the `4.x`
version of *Phony*.

## Migrating from `3.x` to `4.x`

The *Phony* `4.x` release drops support for PHP 7.1. If you only need to support
PHP 7.2 or later, then it is recommended that you upgrade to *Phony* `4.x`. If
you still need to support PHP 7.1, then you are free to continue using the `3.x`
version of *Phony*.

## Migrating from `2.x` to `3.x`

- [The `3.x` release only supports PHP 7.1 or later]
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "4.1.x-dev"
"dev-master": "5.1.x-dev"
}
}
}

0 comments on commit 13fa8a3

Please sign in to comment.