We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 173-182 (lines=10) @@ | ||
| 170 | * @param DefinitionNode $typeDef |
|
| 171 | * @param array $config |
|
| 172 | */ |
|
| 173 | private function addInterfaces(DefinitionNode $typeDef, array &$config) |
|
| 174 | { |
|
| 175 | if (!empty($typeDef->interfaces)) { |
|
| 176 | $interfaces = []; |
|
| 177 | foreach ($typeDef->interfaces as $interface) { |
|
| 178 | $interfaces[] = $this->astTypeNodeToString($interface); |
|
| 179 | } |
|
| 180 | $config['interfaces'] = $interfaces; |
|
| 181 | } |
|
| 182 | } |
|
| 183 | ||
| 184 | /** |
|
| 185 | * @param DefinitionNode $typeDef |
|
| @@ 188-197 (lines=10) @@ | ||
| 185 | * @param DefinitionNode $typeDef |
|
| 186 | * @param array $config |
|
| 187 | */ |
|
| 188 | private function addTypes(DefinitionNode $typeDef, array &$config) |
|
| 189 | { |
|
| 190 | if (!empty($typeDef->types)) { |
|
| 191 | $types = []; |
|
| 192 | foreach ($typeDef->types as $type) { |
|
| 193 | $types[] = $this->astTypeNodeToString($type); |
|
| 194 | } |
|
| 195 | $config['types'] = $types; |
|
| 196 | } |
|
| 197 | } |
|
| 198 | ||
| 199 | /** |
|
| 200 | * @param DefinitionNode $typeDef |
|