Skip to content

PHP-Parser 4.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@nikic nikic released this 27 Jan 18:12
· 657 commits to master since this release

This is the first and likely last beta release for a new major version of the PHP-Parser library. The biggest new feature in this version is an experimental pretty-printing mode, which preserves formatting for parts of the code which have not been modified.

For more information on BC breaks in this release see the upgrading guide.

The following changelog only lists the changes from the previous alpha release. A complete changelog is also available.

Fixed

  • In formatting-preserving pretty printer: Fixed indentation when inserting into lists. (#466)

Added

  • In formatting-preserving pretty printer: Improved formatting of elements inserted into multi-line arrays.

Removed

  • The Autoloader class has been removed. It is now required to use the Composer autoloader.