Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 623 Bytes

whitespaces.md

File metadata and controls

13 lines (9 loc) · 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 align match expressions.