You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
When running the formatter on this, the space between return and the parenthesis always gets removed. This seems to happen regardless of the selected Code Style setting and I could not find a specific formatting rule / overwrite that has any impact on this.
Note:
I know that the parenthesis around the $v > 0 condition are not strictly necessary. And when removing them, everything works as expected.
Still, the formatter should not chose to modify the spacing just because those parens are there.
The text was updated successfully, but these errors were encountered:
Example:
Problem:
When running the formatter on this, the space between
return
and the parenthesis always gets removed. This seems to happen regardless of the selectedCode Style
setting and I could not find a specific formatting rule / overwrite that has any impact on this.Note:
I know that the parenthesis around the
$v > 0
condition are not strictly necessary. And when removing them, everything works as expected.Still, the formatter should not chose to modify the spacing just because those parens are there.
The text was updated successfully, but these errors were encountered: