Skip to content

Commit 749f02f

Browse files
committed
Update changelog
1 parent c1bb7d5 commit 749f02f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ are listed.
515515

516516
### 60 (experimental)
517517

518+
Supported since 0.1.7 (XXX).
519+
518520
* `AST_FUNC_DECL` and `AST_METHOD` no longer generate a `uses` child. Previously this child was
519521
always `null`.
520522
* `AST_FUNC_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.

package.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,16 @@
2323
</stability>
2424
<license uri="https://github.com/nikic/php-ast/blob/master/LICENSE">BSD-3-Clause</license>
2525
<notes>
26-
- XXX
26+
- Added AST version 60 with the following changes:
27+
- `AST_FUNC_DECL` and `AST_METHOD` no longer generate a `uses` child. Previously this child was
28+
always `null`.
29+
- `AST_FUNC_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
30+
On PHP 7.0 the value is always `null`.
31+
- Added `ARRAY_ELEM_REF` flag, which is used by `AST_ARRAY_ELEM` for by-reference array elements
32+
and (since PHP 7.3) for by-reference destructuring. Previously this flag was represented simply
33+
by the value `1`.
34+
- Deprecated AST versions 40 and 45.
35+
- Fix build against PHP 7.4-dev.
2736
</notes>
2837
<contents>
2938
<dir name="/">

0 commit comments

Comments
 (0)