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