New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fully_qualified_strict_types
- conversion from Foo\Bar::class
to Bar::class
should not happen for imported function
#7652
Comments
This seems like a duplicate of #7460, this is not touch by my PR, but easy to fix after. |
I'm not sure if it's really a duplicate. 7460 wants to convert |
#7679 solves all classy bugs :) |
can you link a test case in your PR that covers |
As I think about it, are we even able to distinguish imports for classes and functions if both can use |
|
I would rather avoid it, because with token-based logic it would be awfully hard probably. However, importing |
I think you folks are wondering of "how to import such ::class usage with This issue is not about it. This issue is to prevent this conversion: input
expected outputno change actual output
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
fully_qualified_strict_types
- conversion from Foo\Bar::class
to Bar::class
should not happen for imported function
ref symfony/symfony#53233 (comment)
The text was updated successfully, but these errors were encountered: