whitespaces.md
623 Bytes
Whitespaces
SlevomatCodingStandard.Whitespaces.DuplicateSpaces 🔧
Checks duplicate spaces anywhere because there aren't sniffs for every part of code to check formatting.
Sniff provides the following settings:
-
ignoreSpacesBeforeAssignment: to allow multiple spaces to align assignments. -
ignoreSpacesInAnnotation: to allow multiple spaces to align annotations. -
ignoreSpacesInComment: to allow multiple spaces to align content of the comment. -
ignoreSpacesInParameters: to allow multiple spaces to align parameters. -
ignoreSpacesInMatch: to allow multiple spaces to alignmatchexpressions.