Skip to content

Files

Latest commit

 

History

History
15 lines (9 loc) · 604 Bytes

SlevomatCodingStandard.Functions.FunctionLength.md

File metadata and controls

15 lines (9 loc) · 604 Bytes

Pattern: Function is too long

Issue: -

Description

Disallows long functions. This rule provides the following setting:

  • includeComments: should comments be included in the count (default value is false).
  • includeWhitespace: should empty lines be included in the count (default value is false).
  • maxLinesLength: specifies max allowed function lines length (default value is 20).

Further Reading