I don't know if this is a behavior change from any previous version, but I don't remember seeing this before (OTOH, I don't use the Format PHP code option very often). At any rate, I find it pretty annoying and would like to be able to turn it off if possible.
If I have this code:
Code: Select all
if (!empty($var) || !foo($var))
Code: Select all
if (!empty ($var) || !foo($var))
- Before cemicolon (sic)
- Inside expresison (sic) parenthesis
- Inside method call parenthesis
I'm not actually familiar with the editorconfig tool mentioned in this topic, but if it handles that level of detailed options, maybe this is a vote for that topic. The current PHP code formatter with all its options is really very nice, don't get me wrong. It's just this one little thing that has suddenly caught my eye and become annoying
