We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This fixer generates invalid PHP code in some cases. E.g.:
// Original code: if (true) try { } catch(Exception $e) { } // After fix (syntax error!!!): if (true) { try { } } catch(Exception $e) { } // Should be: if (true) { try { } catch(Exception $e) { } }
try/catch is not treated as a whole...
PHP_CodeSniffer 2.7.1
The text was updated successfully, but these errors were encountered:
Fixed bug #1253 : Generic.ControlStructures.InlineControlStructure fi…
be56d7d
…x creates syntax error fixing if-try/catch
Thanks for the report. I've fixed this now.
Sorry, something went wrong.
Thank you!
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
This fixer generates invalid PHP code in some cases. E.g.:
try/catch is not treated as a whole...
PHP_CodeSniffer 2.7.1
The text was updated successfully, but these errors were encountered: