plugin-php
plugin-php copied to clipboard
ugly comments in catch
Prettier 1.14.3
PHP Plugin 0.8.0
# Options (if any):
--single-quote
Input:
try {}
catch(
// comment
Exception
// comment
$foo
// comment
) {}
Output:
try {
} catch (// comment
Exception // comment
$foo) {
// comment
}
Expected behavior:
Based on this https://github.com/prettier/prettier/pull/5202/files