1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-29 20:09:08 +01:00

Release PHP-Parser 4.6.0

This commit is contained in:
Nikita Popov 2020-07-02 19:12:47 +02:00
parent 4abc531213
commit c346bbfafe

View File

@ -1,8 +1,25 @@
Version 4.5.1-dev
Version 4.6.1-dev
-----------------
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)
--------------------------