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 3 locations

Config/Parser/GraphQLParser.php 3 locations

@@ 135-144 (lines=10) @@
132
     * @param Node  $typeDef
133
     * @param array $config
134
     */
135
    private function addInterfaces(Node $typeDef, array &$config)
136
    {
137
        if (!empty($typeDef->interfaces)) {
138
            $interfaces = [];
139
            foreach ($typeDef->interfaces as $interface) {
140
                $interfaces[] = $this->astTypeNodeToString($interface);
141
            }
142
            $config['interfaces'] = $interfaces;
143
        }
144
    }
145
146
    /**
147
     * @param Node  $typeDef
@@ 150-159 (lines=10) @@
147
     * @param Node  $typeDef
148
     * @param array $config
149
     */
150
    private function addTypes(Node $typeDef, array &$config)
151
    {
152
        if (!empty($typeDef->types)) {
153
            $types = [];
154
            foreach ($typeDef->types as $type) {
155
                $types[] = $this->astTypeNodeToString($type);
156
            }
157
            $config['types'] = $types;
158
        }
159
    }
160
161
    /**
162
     * @param Node  $typeDef
@@ 165-174 (lines=10) @@
162
     * @param Node  $typeDef
163
     * @param array $config
164
     */
165
    private function addValues(Node $typeDef, array &$config)
166
    {
167
        if (!empty($typeDef->values)) {
168
            $values = [];
169
            foreach ($typeDef->values as $value) {
170
                $values[] = ['value' => $value->name->value];
171
            }
172
            $config['values'] = $values;
173
        }
174
    }
175
176
    /**
177
     * @param Node  $definition