complexity.md
289 Bytes
Complexity
SlevomatCodingStandard.Complexity.Cognitive
Enforces maximum cognitive complexity for functions.
Sniff provides the following setting:
-
warningThreshold: defaults to 6 -
errorThreshold: defaults to 6
Enforces maximum cognitive complexity for functions.
Sniff provides the following setting:
warningThreshold: defaults to 6errorThreshold : defaults to 6