mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-30 04:19:30 +01:00
Release PHP-Parser 3.0.0 beta 1
This commit is contained in:
parent
f03823cde5
commit
f5d334d9bf
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,9 +1,21 @@
|
|||||||
Version 3.0.0-dev
|
Version 3.0.0-dev
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Nothing yet.
|
||||||
|
|
||||||
|
Version 3.0.0-beta1 (2016-09-16)
|
||||||
|
--------------------------------
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* [7.1] Function/method and parameter builders now support PHP 7.1 type hints (void, iterable and
|
||||||
|
nullable types).
|
||||||
|
* Nodes and Comments now implement `JsonSerializable`. The node kind is stored in a `nodeType`
|
||||||
|
property.
|
||||||
* The `InlineHTML` node now has an `hasLeadingNewline` attribute, that specifies whether the
|
* The `InlineHTML` node now has an `hasLeadingNewline` attribute, that specifies whether the
|
||||||
preceding closing tag contained a newline. The pretty printer honors this attribute.
|
preceding closing tag contained a newline. The pretty printer honors this attribute.
|
||||||
|
* Partial parsing of `$obj->` (with missing property name) is now supported in error recovery mode.
|
||||||
|
* The error recovery mode is now exposed in the `php-parse` script through the `--with-recovery`
|
||||||
|
or `-r` flags.
|
||||||
|
|
||||||
The following changes are also part of PHP-Parser 2.1.1:
|
The following changes are also part of PHP-Parser 2.1.1:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user