Skip to content

Use namespaced symbol names in the visitor - #494

Merged
szepeviktor merged 1 commit into
php-stubs:masterfrom
IanDelMar:namespaced
Oct 6, 2026
Merged

szepeviktor merged 1 commit into
php-stubs:masterfrom
IanDelMar:namespaced

Conversation

@IanDelMar

Copy link
Copy Markdown
Contributor

getSymbolName() returns short names, so namespaced symbols with the same short name collide. As a result, additions intended for one symbol may be applied to another.

Currently, only File::__construct() is affected, with no adverse effects. This PR updates the Visitor to use namespaced symbol names to prevent future collisions.

@szepeviktor
szepeviktor merged commit e847def into php-stubs:master Oct 6, 2026
8 checks passed
@IanDelMar
IanDelMar deleted the namespaced branch October 6, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants