GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#1)
by Šimon
05:05 queued 02:04
created
src/Language/Parser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1251,7 +1251,7 @@
 block discarded – undo
1251 1251
                 Token::BRACE_L,
1252 1252
                 [$this, 'parseEnumValueDefinition'],
1253 1253
                 Token::BRACE_R
1254
-              )
1254
+                )
1255 1255
             : new NodeList([]);
1256 1256
     }
1257 1257
 
Please login to merge, or discard this patch.
src/Language/Printer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 },
150 150
                 NodeKind::STRING => function(StringValueNode $node, $key) {
151 151
                     if ($node->block) {
152
-                       return $this->printBlockString($node->value, $key === 'description');
152
+                        return $this->printBlockString($node->value, $key === 'description');
153 153
                     }
154 154
                     return json_encode($node->value);
155 155
                 },
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
                     return $this->join([
223 223
                         $def->description,
224 224
                         $def->name
225
-                         . $this->wrap('(', $this->join($def->arguments, ', '), ')')
226
-                         . ': ' . $def->type
227
-                         . $this->wrap(' ', $this->join($def->directives, ' '))
225
+                            . $this->wrap('(', $this->join($def->arguments, ', '), ')')
226
+                            . ': ' . $def->type
227
+                            . $this->wrap(' ', $this->join($def->directives, ' '))
228 228
                     ], "\n");
229 229
                 },
230 230
                 NodeKind::INPUT_VALUE_DEFINITION => function(InputValueDefinitionNode $def) {
Please login to merge, or discard this patch.
src/Utils/BlockString.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     private static function leadingWhitespace($str) {
54 54
         $i = 0;
55 55
         while ($i < mb_strlen($str) && ($str[$i] === ' ' || $str[$i] === '\t')) {
56
-          $i++;
56
+            $i++;
57 57
         }
58 58
 
59 59
         return $i;
Please login to merge, or discard this patch.
src/Utils/AST.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@
 block discarded – undo
470 470
                     function($field) use ($variables) { return self::valueFromASTUntyped($field->value, $variables); },
471 471
                     iterator_to_array($valueNode->fields)
472 472
                 )
473
-              );
473
+                );
474 474
             case $valueNode instanceof VariableNode:
475 475
                 $variableName = $valueNode->name->value;
476 476
                 return ($variables && isset($variables[$variableName]))
Please login to merge, or discard this patch.
src/Type/Introspection.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -331,48 +331,48 @@
 block discarded – undo
331 331
                         'description' => 'Location adjacent to an inline fragment.'
332 332
                     ],
333 333
                     'SCHEMA' => [
334
-                      'value' => DirectiveLocation::SCHEMA,
335
-                      'description' =>  'Location adjacent to a schema definition.'
334
+                        'value' => DirectiveLocation::SCHEMA,
335
+                        'description' =>  'Location adjacent to a schema definition.'
336 336
                     ],
337 337
                     'SCALAR' => [
338
-                      'value' => DirectiveLocation::SCALAR,
339
-                      'description' =>  'Location adjacent to a scalar definition.'
338
+                        'value' => DirectiveLocation::SCALAR,
339
+                        'description' =>  'Location adjacent to a scalar definition.'
340 340
                     ],
341 341
                     'OBJECT' => [
342
-                      'value' => DirectiveLocation::OBJECT,
343
-                      'description' =>  'Location adjacent to an object type definition.'
342
+                        'value' => DirectiveLocation::OBJECT,
343
+                        'description' =>  'Location adjacent to an object type definition.'
344 344
                     ],
345 345
                     'FIELD_DEFINITION' => [
346
-                      'value' => DirectiveLocation::FIELD_DEFINITION,
347
-                      'description' =>  'Location adjacent to a field definition.'
346
+                        'value' => DirectiveLocation::FIELD_DEFINITION,
347
+                        'description' =>  'Location adjacent to a field definition.'
348 348
                     ],
349 349
                     'ARGUMENT_DEFINITION' => [
350
-                      'value' => DirectiveLocation::ARGUMENT_DEFINITION,
351
-                      'description' =>  'Location adjacent to an argument definition.'
350
+                        'value' => DirectiveLocation::ARGUMENT_DEFINITION,
351
+                        'description' =>  'Location adjacent to an argument definition.'
352 352
                     ],
353 353
                     'INTERFACE' => [
354
-                      'value' => DirectiveLocation::IFACE,
355
-                      'description' =>  'Location adjacent to an interface definition.'
354
+                        'value' => DirectiveLocation::IFACE,
355
+                        'description' =>  'Location adjacent to an interface definition.'
356 356
                     ],
357 357
                     'UNION' => [
358
-                      'value' => DirectiveLocation::UNION,
359
-                      'description' =>  'Location adjacent to a union definition.'
358
+                        'value' => DirectiveLocation::UNION,
359
+                        'description' =>  'Location adjacent to a union definition.'
360 360
                     ],
361 361
                     'ENUM' => [
362
-                      'value' => DirectiveLocation::ENUM,
363
-                      'description' =>  'Location adjacent to an enum definition.'
362
+                        'value' => DirectiveLocation::ENUM,
363
+                        'description' =>  'Location adjacent to an enum definition.'
364 364
                     ],
365 365
                     'ENUM_VALUE' => [
366
-                      'value' => DirectiveLocation::ENUM_VALUE,
367
-                      'description' =>  'Location adjacent to an enum value definition.'
366
+                        'value' => DirectiveLocation::ENUM_VALUE,
367
+                        'description' =>  'Location adjacent to an enum value definition.'
368 368
                     ],
369 369
                     'INPUT_OBJECT' => [
370
-                      'value' => DirectiveLocation::INPUT_OBJECT,
371
-                      'description' =>  'Location adjacent to an input object type definition.'
370
+                        'value' => DirectiveLocation::INPUT_OBJECT,
371
+                        'description' =>  'Location adjacent to an input object type definition.'
372 372
                     ],
373 373
                     'INPUT_FIELD_DEFINITION' => [
374
-                      'value' => DirectiveLocation::INPUT_FIELD_DEFINITION,
375
-                      'description' =>  'Location adjacent to an input object field definition.'
374
+                        'value' => DirectiveLocation::INPUT_FIELD_DEFINITION,
375
+                        'description' =>  'Location adjacent to an input object field definition.'
376 376
                     ]
377 377
 
378 378
                 ]
Please login to merge, or discard this patch.
src/Validator/Rules/UniqueOperationNames.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     static function duplicateOperationNameMessage($operationName)
13 13
     {
14
-      return "There can be only one operation named \"$operationName\".";
14
+        return "There can be only one operation named \"$operationName\".";
15 15
     }
16 16
 
17 17
     public $knownOperationNames;
Please login to merge, or discard this patch.
src/Validator/Rules/UniqueInputFieldNames.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     static function duplicateInputFieldMessage($fieldName)
13 13
     {
14
-      return "There can be only one input field named \"$fieldName\".";
14
+        return "There can be only one input field named \"$fieldName\".";
15 15
     }
16 16
 
17 17
     public $knownNames;
Please login to merge, or discard this patch.
src/Validator/Rules/OverlappingFieldsCanBeMerged.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -249,11 +249,11 @@  discard block
 block discarded – undo
249 249
         // (D) First collect any conflicts between the provided collection of fields
250 250
         // and the collection of fields represented by the given fragment.
251 251
         $this->collectConflictsBetween(
252
-          $context,
253
-          $conflicts,
254
-          $areMutuallyExclusive,
255
-          $fieldMap,
256
-          $fieldMap2
252
+            $context,
253
+            $conflicts,
254
+            $areMutuallyExclusive,
255
+            $fieldMap,
256
+            $fieldMap2
257 257
         );
258 258
 
259 259
         // (E) Then collect any conflicts between the provided collection of fields
@@ -327,11 +327,11 @@  discard block
 block discarded – undo
327 327
         // (F) First, collect all conflicts between these two collections of fields
328 328
         // (not including any nested fragments).
329 329
         $this->collectConflictsBetween(
330
-          $context,
331
-          $conflicts,
332
-          $areMutuallyExclusive,
333
-          $fieldMap1,
334
-          $fieldMap2
330
+            $context,
331
+            $conflicts,
332
+            $areMutuallyExclusive,
333
+            $fieldMap1,
334
+            $fieldMap2
335 335
         );
336 336
 
337 337
         // (G) Then collect conflicts between the first fragment and any nested
Please login to merge, or discard this patch.
src/Validator/Rules/VariablesDefaultValueAllowed.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -36,14 +36,14 @@
 block discarded – undo
36 36
                 $type = $context->getInputType();
37 37
                 if ($type instanceof NonNull && $defaultValue) {
38 38
                     $context->reportError(
39
-                      new Error(
40
-                          self::defaultForRequiredVarMessage(
41
-                              $name,
42
-                              $type,
43
-                              $type->getWrappedType()
44
-                          ),
45
-                          [$defaultValue]
46
-                      )
39
+                        new Error(
40
+                            self::defaultForRequiredVarMessage(
41
+                                $name,
42
+                                $type,
43
+                                $type->getWrappedType()
44
+                            ),
45
+                            [$defaultValue]
46
+                        )
47 47
                     );
48 48
                 }
49 49
 
Please login to merge, or discard this patch.