google_forms/vendor/slevomat/coding-standard/doc/complexity.md

11 lines
289 B
Markdown
Raw Permalink Normal View History

2024-08-21 06:34:30 +00:00
## 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