biati-digital / nova-php-cs-fixer

Nova php-cs-fixer extension with HTML support
10 stars 1 forks source link

Additional } added at save time. #3

Closed bugcafe closed 4 years ago

bugcafe commented 4 years ago

When there is a gap between the end of code and the closing } an additional } is added rather than bringing the } up to the preceding code.

See examples below:

Before save:

Screen Shot 2020-10-26 at 10 54 52 AM

After Save:

Screen Shot 2020-10-26 at 10 55 51 AM
biati-digital commented 4 years ago

Can you please share that code so i can make some tests? does it happens always? If you disable "Format HTML in PHP files" and "Apply additional fixes" in the extension preferences does it continue to happen?

biati-digital commented 4 years ago

Closing as no more information was provided and i'm sure the problem was with another extension "Prettier"