Closed reprintsev closed 6 months ago
When using the --exclude=AddMissingCurlyBraces option, the space between the closing parenthesis and next statement is removed
--exclude=AddMissingCurlyBraces
<?php if (true) return;
becomes
<?php if (true)return;
When using the --exclude=MergeParenCloseWithCurlyOpen option, an extra space is added before else
--exclude=MergeParenCloseWithCurlyOpen
else
<?php if (true) { // something } else { // something }
Thanks, I'll check it
Thank you @reprintsev this should be already fixed in the latest release. May you please confirm?
@driade yes, the problem is solved, thanks!
When using the
--exclude=AddMissingCurlyBraces
option, the space between the closing parenthesis and next statement is removedbecomes
When using the
--exclude=MergeParenCloseWithCurlyOpen
option, an extra space is added beforeelse
becomes