Skip to content

Files

Latest commit

 

History

History
19 lines (12 loc) · 816 Bytes

SlevomatCodingStandard.Whitespaces.DuplicateSpaces.md

File metadata and controls

19 lines (12 loc) · 816 Bytes

Pattern: Duplicate spaces

Issue: -

Description

Checks duplicate spaces anywhere because there aren't sniffs for every part of code to check formatting.

Rule 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.

Further Reading