Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 820 Bytes

SlevomatCodingStandard.Namespaces.UseSpacing.md

File metadata and controls

17 lines (10 loc) · 820 Bytes

Pattern: Inconsistent use spacing

Issue: -

Description

Enforces configurable number of lines before first use, after last use and between two different types of use (eg. between use function and use const). Also enforces zero number of lines between same types of use.

Rule provides the following settings:

  • linesCountBeforeFirstUse: allows to configure the number of lines before first use.
  • linesCountBetweenUseTypes: allows to configure the number of lines between two different types of use.
  • linesCountAfterLastUse: allows to configure the number of lines after last use.

Further Reading