This repository was archived by the owner on Jul 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 11# Phony changelog
22
3+ ## 5.0.0 (2020-12-21)
4+
5+ - ** [ BC BREAK] ** PHP 7.2 is no longer supported.
6+ - ** [ NEW] ** Added support for PHP 8 union types ([ #250 ] ).
7+ - ** [ NEW] ** Added support for PHP 8 ` false ` types ([ #250 ] ).
8+ - ** [ NEW] ** Added support for PHP 8 ` mixed ` types ([ #250 ] ).
9+ - ** [ NEW] ** Added support for PHP 8 ` static ` return types ([ #250 ] ).
10+ - ** [ NEW] ** Added support for ` parent ` types ([ #250 ] ).
11+
12+ ### Known issues
13+
14+ - PHP 8 named arguments are not supported.
15+ - No guarantees are made about which specific value will be returned from a stub
16+ (or mock method) with a union return type, when no explicit return value is
17+ specified. The value may differ depending on the order in which the union
18+ type's members appear.
19+
20+ [ #250 ] : https://github.com/eloquent/phony/issues/250
21+
322## 4.0.1 (2020-08-29)
423
524- ** [ FIXED] ** Nullable variadics can now be mocked ([ #248 ] - thanks [ @keksa ] ).
Original file line number Diff line number Diff line change 11# Migration guide
22
3+ ## Migrating from ` 4.x ` to ` 5.x `
4+
5+ The * Phony* ` 5.x ` release drops support for PHP 7.2. If you only need to support
6+ PHP 7.3 or later, then it is recommended that you upgrade to * Phony* ` 5.x ` . If
7+ you still need to support PHP 7.2, then you are free to continue using the ` 4.x `
8+ version of * Phony* .
9+
10+ ## Migrating from ` 3.x ` to ` 4.x `
11+
12+ The * Phony* ` 4.x ` release drops support for PHP 7.1. If you only need to support
13+ PHP 7.2 or later, then it is recommended that you upgrade to * Phony* ` 4.x ` . If
14+ you still need to support PHP 7.1, then you are free to continue using the ` 3.x `
15+ version of * Phony* .
16+
317## Migrating from ` 2.x ` to ` 3.x `
418
519- [ The ` 3.x ` release only supports PHP 7.1 or later]
Original file line number Diff line number Diff line change 4747 },
4848 "extra" : {
4949 "branch-alias" : {
50- "dev-master" : " 4 .1.x-dev"
50+ "dev-master" : " 5 .1.x-dev"
5151 }
5252 }
5353}
You can’t perform that action at this time.
0 commit comments