mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-02 09:17:58 +01:00
Release PHP-Parser 4.6.0
This commit is contained in:
parent
4abc531213
commit
c346bbfafe
19
CHANGELOG.md
19
CHANGELOG.md
@ -1,8 +1,25 @@
|
|||||||
Version 4.5.1-dev
|
Version 4.6.1-dev
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Nothing yet.
|
Nothing yet.
|
||||||
|
|
||||||
|
Version 4.6.0 (2020-07-02)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* [PHP 8.0] Added support for trailing commas in parameter lists.
|
||||||
|
* [PHP 8.0] Added support for constructor promotion. The parameter visibility is stored in
|
||||||
|
`Node\Param::$flags`.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Comment tokens now always follow the PHP 8 interpretation, and do not include trailing
|
||||||
|
whitespace.
|
||||||
|
* As a result of the previous change, some whitespace issues when inserting a statement into a
|
||||||
|
method containing only a comment, and using the formatting-preserving pretty printer, have been
|
||||||
|
resolved.
|
||||||
|
|
||||||
Version 4.5.0 (2020-06-03)
|
Version 4.5.0 (2020-06-03)
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user