- Notifications
You must be signed in to change notification settings - Fork 165
Closed
Labels
Description
Description
Newlines existing in the middle of a style definition for LESS files should be catch. Currently, Magento2/Sniffs/Less/ColonSpacingSniff.php
has this checking in place but it is not working, as PHPCS strips newlines that goes in the middle of a sentence.
Expected behavior
Being able to catch the following case
.foo { bar: 'xyz'; }
Benefits
An incorrect LESS formatting would be catch
Additional information
ihor-sviziev