Skip to content

PHP-Parser 5.0.2

Compare
Choose a tag to compare
@nikic nikic released this 05 Mar 20:53
· 47 commits to master since this release

Fixed

  • Fix handling of indentation on next line after opening PHP tag in formatting-preserving pretty printer.

Changed

  • Avoid cyclic references in Parser objects. This means that no longer used parser objects are immediately destroyed now, instead of requiring cycle GC.
  • Update PhpVersion::getNewestSupported() to report PHP 8.3 instead of PHP 8.2.