File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
Version 4.2.2-dev
2
2
-----------------
3
3
4
- Nothing yet.
4
+ ### Added
5
+
6
+ * [ PHP 7.4] Add support for arrow functions using a new ` Expr\ArrowFunction ` node. (#602 )
7
+ * [ PHP 7.4] Add support for array spreads, using a new ` unpack ` subnode on ` ArrayItem ` . (#609 )
8
+ * Added support for inserting into empty list nodes in the formatting preserving pretty printer.
9
+
10
+ ### Changed
11
+
12
+ * ` php-parse ` will now print messages to stderr, so that stdout only contains the actual result of
13
+ the operation (such as a JSON dump). (#605 )
14
+
15
+ ### Fixed
16
+
17
+ * Fixed attribute assignment for zero-length nop statements, and a related assertion failure in
18
+ the formatting-preserving pretty printer. (#589 )
5
19
6
20
Version 4.2.1 (2019-02-16)
7
21
--------------------------
Original file line number Diff line number Diff line change @@ -877,7 +877,6 @@ protected function pArray(
877
877
}
878
878
879
879
if (!empty ($ delayedAdd )) {
880
- // TODO Handle insertion into empty list
881
880
if (!isset ($ this ->emptyListInsertionMap [$ mapKey ])) {
882
881
return null ;
883
882
}
You can’t perform that action at this time.
0 commit comments