Skip to content

Commit 027fd19

Browse files
committed
Released v2.0.0-alpha1
1 parent aa2ee82 commit 027fd19

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# CHANGELOG
22

3+
## 2.0.0-alpha1: PHP 7
4+
5+
Dropped support for PHP < 7
6+
7+
This means we now can use:
8+
9+
* scalar type hints
10+
* return type hints
11+
* callable type hint, without having to check PHP version
12+
13+
All `make` static constructor were created for PHP < 5.6, they're
14+
now deprecated. Here's an example of what to use instead:
15+
16+
```
17+
(new Method('sayHello'))
18+
->addArgument(new Argument('string', 'name')))
19+
;
20+
```
321

422
## 1.4.1: Cancelled FQCN
523

0 commit comments

Comments
 (0)