Skip to content

PHP-Parser 4.11.0

Choose a tag to compare

@nikic nikic released this 03 Jul 13:38
· 459 commits to master since this release

Added

  • BuilderFactory::args() now accepts named arguments.
  • BuilderFactory::attribute() has been added.
  • An addAttribute() method accepting an Attribute or AttributeGroup has been added to all builders that accept attributes, such as Builder\Class_.

Fixed

  • NameResolver now handles enums.
  • PrettyPrinter now prints backing enum type.
  • Builder methods for types now property handle never type.