Skip to content

PHP-Parser 2.0.0 Beta 1

Compare
Choose a tag to compare
@nikic nikic released this 21 Oct 18:33
· 1103 commits to master since this release

A description of changes incompatible with version 1.x can be found in the upgrading guide. This changelog lists differences to alpha 1 only.

Fixed

  • Fixed issue with too many newlines being stripped at the end of heredoc/nowdoc strings in some cases. (#227)

Changed

  • Update group use support to be in line with recent PHP 7.0 builds.
  • Renamed php-parse.php to php-parse and registered it as a composer bin.
  • Use composer PSR-4 autoloader instead of custom autoloader.
  • Specify phpunit as a dev dependency.

Added

  • Added shortArraySyntax option to pretty printer, to print all arrays using short syntax.