In XHPAST, it is difficult to determine the fully qualified class name from a node of type n_CLASS_DECLARATION. We could possibly make this easier by attaching the namespace node to the class declaration node in some sort of "scoping".
Description
Description
Related Objects
Related Objects
- Mentioned In
- D13275: Add a linter rule for extending Phobject
Event Timeline
Comment Actions
I considered putting a getClassName() method on the XHPASTNode class, but I'm not entirely convinced that this is a good idea.