AnonymousClass6a85eed1b3aeaa3b7eaea1eb536990ed
mvorisek opened this issue · 3 comments
for https://github.com/doctrine/dbal/blob/3.5.1/src/Platforms/AbstractPlatform.php#L225 this lib currently emit:
Call to deprecated method getVarcharTypeDeclarationSQL() of class AnonymousClass6a85eed1b3aeaa3b7eaea1eb536990ed:
Use {@link getStringTypeDeclarationSQL()} instead.
from AnonymousClass6a85eed1b3aeaa3b7eaea1eb536990ed it is very hard to tell which class and also I double the name is stable for error ignore.
I would expect anonymous name like from native phpstan https://phpstan.org/r/7f7ac916-f7fe-4c4d-8035-337e837344ae, ie. class@anonymous/tmp.php:7 istead of AnonymousClass6a85eed1b3aeaa3b7eaea1eb536990ed.
It needs to call getDisplayName() instead of getName() on ClassReflection. Feel free to send a PR.
The problem was fixed in the meantime.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.