github nikic/PHP-Parser v5.3.0
PHP-Parser 5.3.0

latest releases: v4.19.4, v4.19.3
7 hours 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.