There was an error while loading. Please reload this page.
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