complexity.md

February 1, 2025 ยท View on GitHub

Complexity

SlevomatCodingStandard.Complexity.Cognitive

Enforces maximum cognitive complexity for functions.

Sniff provides the following setting:

  • warningThreshold (default: 6)
  • errorThreshold (default: 6)