-
-
Notifications
You must be signed in to change notification settings - Fork 432
[AutoImport] Do not rename different namespaced function on auto import + RenameFunctionRector #7214
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
Conversation
|
Per note at rectorphp/rector#9349 (comment) , it can properly skipped if function is properly loaded https://getrector.com/demo/785dfa4f-769d-4d5a-b9b1-c33392368277 |
|
Fixed 🎉 /cc @wannevancamp , it just imported to use statement, but not renamed, since namespaced function is different 👍 |
|
All checks have passed 🎉 @TomasVotruba I am merging it ;) |
|
👍 |
…uto import + RenameFunctionRector (rectorphp#7214)" This reverts commit 084fd1f.
…rt + RenameFunctionRector (rectorphp#7214) * [AutoImport] Skip different namespaced function on auto import + RenameFunctionRector * update fixture * Fix
…uto import + RenameFunctionRector (rectorphp#7214)" This reverts commit 084fd1f.
…rt + RenameFunctionRector (rectorphp#7214) * [AutoImport] Skip different namespaced function on auto import + RenameFunctionRector * update fixture * Fix
…rt + RenameFunctionRector (rectorphp#7214) * [AutoImport] Skip different namespaced function on auto import + RenameFunctionRector * update fixture * Fix
|
This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work. |
Fixes rectorphp/rector#9349
Ref https://getrector.com/demo/faea2b6a-edbc-4265-a034-bff79354815d