You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 034afd3
Browse filesBrowse the repository at this point in the historyBrowse files
Return name nodes for class names from Type::toPhpDocNode()
Type::toPhpDocNode() returned a plain IdentifierTypeNode for both
keywords (int, mixed, non-falsy-string) and class names, so consumers
like Rector had to guess which is which and how to print it.
ObjectType, GenericObjectType, ClosureType and GetTemplateTypeType now
return phpdoc-parser's FullyQualifiedNameNode, and EnumCaseObjectType a
fully qualified ConstFetchNode, so a printed node resolves to the same
class in any namespace. Keywords, pure-/static-Closure and template
type names stay IdentifierTypeNode.
describe() output is unchanged: TypeNodeDescriber prints names without
the leading backslash. The turbo extension returns the same nodes.
Amp-Thread-ID: https://ampcode.com/threads/T-01a179f2-995f-7745-8d8c-4c174ba5c0ce
0 commit comments