biati-digital / nova-php-cs-fixer

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

Twig line whitespace trimming modifier #16

Closed brucep closed 3 years ago

brucep commented 3 years ago

The ~ modifier used for line whitespace trimming is incorrectly formatted; a space is added between the modifier and the tag.

Maybe it's being confused with the concatenation operator?

biati-digital commented 3 years ago

This extension uses https://github.com/prettydiff/prettydiff to format twig so this might be an issue with that formatter or you could provide examples (as i don't use twig) to understand what you are saying and probably add a fix directly in the extension.

biati-digital commented 3 years ago

Closing as no more info was provided