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.com/demo/e722af0b-fe5b-4c76-91f1-997c9adc1867
<?php switch ($_SERVER['REQUEST_METHOD']) { case 'GET': // comment $response = 'get'; break; default: $response = 'error'; break; }
ChangeSwitchToMatchRector
The comment shouldn't be eaten up.
The text was updated successfully, but these errors were encountered:
It's a similar case to #8702 but the comment is at a different position.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/e722af0b-fe5b-4c76-91f1-997c9adc1867
Responsible rules
ChangeSwitchToMatchRector
Expected Behavior
The comment shouldn't be eaten up.
The text was updated successfully, but these errors were encountered: