PHP-Parser v0.3.0 Release Notes

Release Date: 2018-03-01 // almost 4 years ago
  • Namespace resolver

    Namespace resolver is a visitor that traverses nodes and resolves name nodes as fully qualified names.
    It does not change AST but collects resolved names into map[node.Node]string

    For Class, Interface, Trait, Function, ConstList nodes collects name with current namespace.
    For Name, Relative, 'FullyQualified' nodes resolves use aliases and collects a fully qualified name.

    Other changes

    • โœ‚ Remove the underscore from package names
    • ๐Ÿ›  Fix goreportcard.com warnings
    • ๐Ÿ“‡ Rename Walker to Walkable interface
    • โž• Add Names interface
    • โž• Add dumper and namespace_resolver tests