## Complexity

#### SlevomatCodingStandard.Complexity.Cognitive

Enforces maximum [cognitive complexity](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) for functions.

Sniff provides the following setting:

* `warningThreshold`: defaults to 6
* `errorThreshold` : defaults to 6