Ensures that the nesting level of if and try-catch statements does not exceed a specified limit.
-
class: Phauthentic\PHPStanRules\CleanCode\ControlStructureNestingRule
arguments:
maxNestingLevel: 2
tags:
- phpstan.rules.rulemaxNestingLevel: Maximum allowed nesting level for control structures (required).