ObjectCalisthenics\Sniffs\Metrics\OneIndentationLevelSniff::adjustNestingLevelToIgnoredScope PHP Method

adjustNestingLevelToIgnoredScope() private method

    private function adjustNestingLevelToIgnoredScope()
    {
        // Iterated through ignored scope stack to find out if
        // anything can be popped out and adjust nesting level.
        foreach ($this->ignoredScopeStack as $key => $ignoredScope) {
            $this->unsetScopeIfNotCurrent($key, $ignoredScope);
        }
    }