Skip to content
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

when using specific pattern refactor command will not finished #9

Open
Danger-Mkh opened this issue Aug 12, 2021 · 0 comments
Open

Comments

@Danger-Mkh
Copy link
Contributor

when i use this pattern

"if (isset('<1:var>')) { return true; } else { return false; }" => [
        "replace" => "return isset('<1>');"
    ]

php artisan refactor
will not finished if i answer no,
and ask that question again and again.

but this pattern work well

"if ('<1:until_match>') { return true; } else { return false; }" => [
        "replace" => "return '<1>';"
    ],
@imanghafoori1 imanghafoori1 transferred this issue from imanghafoori1/laravel-microscope Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant