packagist nikic/php-parser v5.3.0
PHP-Parser 5.3.0

latest releases: dev-master, v5.3.1, v4.19.4...
one month ago

Added

  • Added indent option to pretty printer, which can be used to specify the indentation to use (defaulting to four spaces). This also allows using tab indentation.

Fixed

  • Resolve names in PropertyHooks in the NameResolver.
  • Include the trailing semicolon inside Stmt\GroupUse nodes, making them consistent with Stmt\Use_ nodes.
  • Fixed indentation sometimes becoming negative in formatting-preserving pretty printer, resulting in ValueErrors.

Don't miss a new php-parser release

NewReleases is sending notifications on new releases.