I have issues with comment formatting:
Also, how can I stop sending the if body on a new line? Some files do it, some - don't.
Is it the PHPDoc comment formatting? Seems like there may be inconsistent tabs and spaces. There is a known issues when tabs are used (but in settings, there are preferred spaces).
JakubMisek Please explain what do I check where.
He's asking whether there are any tabs used in the document, while the setting in visual studio (Options - Text Editor - PHP) is set to use spaces.
Generally files should only ever contain either tabs or spaces and never a mix of both.
MarcHenderkes This is VS code we're talking about.
@VladislavKosev this setting, please
The possible cause (that we don't handle well) might be the use of tabs in your code?
This setting is "on" for me and yes, my code uses tabs and not spaces.
P.S. Possibly the same bug doesn't indent #region and #endregion at the same level - #endregion is outdented one level.