Skip to content

PHP-Parser 3.0.6

Choose a tag to compare

@nikic nikic released this 28 Jun 20:55
· 982 commits to master since this release

Fixed

  • Fixed the spelling of Class_::VISIBILITY_MODIFIER_MASK. The previous spelling of Class_::VISIBILITY_MODIFER_MASK is preserved for backwards compatibility.
  • The pretty printing will now preserve comments inside array literals and function calls by printing the array items / function arguments on separate lines. Array literals and functions that do not contain comments are not affected.

Added

  • Added Builder\Param::makeVariadic().

Deprecated

  • The Node::setLine() method has been deprecated.