File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
Version 3.0.0-dev
2
- -----------------
3
2
4
3
### Added
5
4
6
5
* The ` InlineHTML ` node now has an ` hasLeadingNewline ` attribute, that specifies whether the
7
6
preceding closing tag contained a newline. The pretty printer honors this attribute.
8
7
8
+ The following changes are also part of PHP-Parser 2.1.1:
9
+
10
+ * The PHP 7 parser will now generate a parse error for ` $var =& new Obj ` assignments.
11
+ * Comments on free-standing code blocks will no be retained as comments on the first statement in
12
+ the code block.
13
+
9
14
Version 3.0.0-alpha1 (2016-07-25)
10
15
---------------------------------
11
16
@@ -59,6 +64,19 @@ Additionally the following changes were made:
59
64
* The deprecated ` Comment::setLine() ` and ` Comment::setText() ` methods have been removed.
60
65
* The deprecated ` Name::set() ` , ` Name::setFirst() ` and ` Name::setLast() ` methods have been removed.
61
66
67
+ Version 2.1.1 (2016-09-16)
68
+ --------------------------
69
+
70
+ ### Changed
71
+
72
+ * The pretty printer will now escape all control characters in the range ` \x00-\x1F ` inside double
73
+ quoted strings. If no special escape sequence is available, an octal escape will be used.
74
+ * The quality of the error recovery has been improved. In particular unterminated expressions should
75
+ be handled more gracefully.
76
+ * The PHP 7 parser will now generate a parse error for ` $var =& new Obj ` assignments.
77
+ * Comments on free-standing code blocks will no be retained as comments on the first statement in
78
+ the code block.
79
+
62
80
Version 2.1.0 (2016-04-19)
63
81
--------------------------
64
82
You can’t perform that action at this time.
0 commit comments