RenameVariableToMatchNewTypeRector doesn't work for me on Rector 2.0.10 #9062
Unanswered
prescriptionlifeline
asked this question in
Q&A
Replies: 1 comment 6 replies
-
|
It seems working ok, see https://getrector.com/demo/cb118305-4e91-41d0-aa05-8904fbfeca11 Ensure that the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's the rule I'm trying to use:
https://getrector.com/rule-detail/rename-variable-to-match-new-type-rector
Here's my rector.php:
I only have one file in the src/ directory - test.php:
When I run
vendor/bin/rector process src --dry-runhere's the output that I get:The output I'd expect to get is this:
vendor/bin/rector --versionreturns "Rector 2.0.10"Any ideas? Or does
RenameVariableToMatchNewTypeRectorjust not work?Beta Was this translation helpful? Give feedback.
All reactions