Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Code Duplication    Length = 10-10 lines in 2 locations

Request/Validator/Rule/QueryDepth.php 1 location

@@ 80-89 (lines=10) @@
77
        return $this->getMaxQueryDepth() !== static::DISABLED;
78
    }
79
80
    private function fieldDepth(Node $node, $depth = 0, $maxDepth = 0)
81
    {
82
        if (isset($node->selectionSet)) {
83
            foreach ($node->selectionSet->selections as $childNode) {
84
                $maxDepth = $this->nodeDepth($childNode, $depth, $maxDepth);
85
            }
86
        }
87
88
        return $maxDepth;
89
    }
90
91
    private function nodeDepth(Node $node, $depth = 0, $maxDepth = 0)
92
    {

Request/Validator/Rule/QueryComplexity.php 1 location

@@ 120-129 (lines=10) @@
117
        );
118
    }
119
120
    private function fieldComplexity(Node $node, $complexity = 0)
121
    {
122
        if (isset($node->selectionSet)) {
123
            foreach ($node->selectionSet->selections as $childNode) {
124
                $complexity = $this->nodeComplexity($childNode, $complexity);
125
            }
126
        }
127
128
        return $complexity;
129
    }
130
131
    private function nodeComplexity(Node $node, $complexity = 0)
132
    {