You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot rename variable from use variable name #829
return \Amp\call(function () use ($checkoutTask, $wo<>rkspace, $environment) {
we get the following error:
Error from Phpactor: Expected Variable or Parameter node, got "Microsoft\PhpParser\Node\UseVariableName
Note that I think currently variable renaming is limited to the current scope (probably the function) but in this case we also need to include the parent scope.
Activity
camilledejoye commentedon Oct 20, 2019
What is a "use variable" ?
dantleech commentedon Oct 20, 2019
Updated the description :)
camilledejoye commentedon Oct 20, 2019
I hate specific :D
dantleech commentedon Feb 22, 2020
Fixed in #888