PHP-Parser v0.5.1 Release Notes

Release Date: 2018-07-03 // almost 6 years ago
  • ๐Ÿšš #44: if array item list ends by a comma, last nil does not removed
    ๐Ÿ“œ #44: fixed crash on an empty list item
    ๐Ÿ— #41: Namespace resolver now does not resolve build-in primitives
    ๐Ÿ›  Fixed bug: Namespace resolver fails when TraitUse does not contain adaptations
    ๐Ÿ”€ #40: memory allocations reduced for position.Position by using sync.Pool
    ๐Ÿ”€ #27: memory allocations reduced for scanner.Token by using sync.Pool
    ๐Ÿ“œ #26: TrimLeft replaced by TrimLeftFunc (small optimization)
    ๐Ÿ“œ #38: fixed saving positions for php5 ArrayDimFetch, PropertyFetch and MethodCall nodes
    ๐Ÿ“œ #34: fixed saving position for Class node