Skip to content

Files

Latest commit

 

History

History
16 lines (9 loc) · 662 Bytes

SlevomatCodingStandard.Classes.EmptyLinesAroundClassBraces.md

File metadata and controls

16 lines (9 loc) · 662 Bytes

Pattern: Malformed empty lines around braces

Issue: -

Description

Enforces one configurable number of lines after opening class/interface/trait brace and one empty line before the closing brace.

Rule provides the following settings:

  • linesCountAfterOpeningBrace: allows to configure the number of lines after opening brace.
  • linesCountBeforeClosingBrace: allows to configure the number of lines before closing brace.

Further Reading