We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://getrector.org/demo/1ebfb65a-6f97-6fd2-8302-49f3956ff581
<?php declare(strict_types = 1); namespace X { class Y { } function y() { echo 'test'; } } namespace Test { use function \X\y; y(); }
FixClassCaseSensitivityNameRector
No change expected. I'm not using the class but the function.
The text was updated successfully, but these errors were encountered:
And yes there is a real library with such case: https://github.com/amphp/postgres/blob/02d367fb2a8c8d870a0af9c5a767ce6752542658/src/Pool.php#L17 https://github.com/amphp/postgres/blob/02d367fb2a8c8d870a0af9c5a767ce6752542658/src/functions.php#L56
Sorry, something went wrong.
Thanks, this should indeed work 👍 We'll need a test case PR with this fixture.
Closes #656 Fixes rectorphp/rector#6631
64a0803
Updated Rector to commit 5f21af7a492f8be43972c1d89fa150ae9e37475c
59d44f7
rectorphp/rector-src@5f21af7 Remove unused AssignVariableNameResolverInterface instances (#6631)
Successfully merging a pull request may close this issue.
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.org/demo/1ebfb65a-6f97-6fd2-8302-49f3956ff581
Responsible rules
FixClassCaseSensitivityNameRector
Expected Behavior
No change expected. I'm not using the class but the function.
The text was updated successfully, but these errors were encountered: