PHP-Parser v0.3.0 Release Notes
Release Date: 2018-03-01 // about 6 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 intomap[node.Node]string
For
Class
,Interface
,Trait
,Function
,ConstList
nodes collects name with current namespace.
ForName
,Relative
, 'FullyQualified' nodes resolvesuse aliases
and collects a fully qualified name.Other changes
- โ Remove the underscore from package names
- ๐ Fix
goreportcard.com
warnings - ๐ Rename
Walker
toWalkable
interface - โ Add
Names
interface - โ Add
dumper
andnamespace_resolver
tests