Completed
Push — master ( 71d8db...83e409 )
by Kirill
43:48
created
src/Console/ParserCompileCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @var string Default parser output path
29 29
      */
30
-    private const DEFAULT_PATH = __DIR__ . '/../Parser';
30
+    private const DEFAULT_PATH = __DIR__.'/../Parser';
31 31
 
32 32
     /**
33 33
      * @var string Default generated parser FQN
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/DefinitionTraceRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct(Definition $definition)
30 30
     {
31
-        $this->definition   = $definition;
31
+        $this->definition = $definition;
32 32
 
33 33
         $this->file   = $definition->getFileName();
34 34
         $this->line   = $definition->getDeclarationLine();
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/PhpTraceRenderer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $this->trace = $trace;
29 29
 
30
-        $this->file = (string)($trace['file'] ?? 'php://input');
31
-        $this->line = (int)($trace['line'] ?? 0);
30
+        $this->file = (string) ($trace['file'] ?? 'php://input');
31
+        $this->line = (int) ($trace['line'] ?? 0);
32 32
     }
33 33
 
34 34
     /**
@@ -54,16 +54,16 @@  discard block
 block discarded – undo
54 54
         $result = $trace['function'];
55 55
 
56 56
         if (\array_key_exists('class', $trace)) {
57
-            $result = $trace['class'] . $trace['type'] . $result;
57
+            $result = $trace['class'].$trace['type'].$result;
58 58
         }
59 59
 
60 60
         $arguments = [];
61 61
 
62
-        foreach ((array)($trace['args'] ?? []) as $argument) {
62
+        foreach ((array) ($trace['args'] ?? []) as $argument) {
63 63
             $arguments[] = $this->valueToString($argument);
64 64
         }
65 65
 
66
-        return $result . '(' . \implode(', ', $arguments) . ')';
66
+        return $result.'('.\implode(', ', $arguments).')';
67 67
     }
68 68
 
69 69
     /**
@@ -104,10 +104,10 @@  discard block
 block discarded – undo
104 104
         $body = \implode(', ', $parts);
105 105
 
106 106
         if (\is_object($iterator)) {
107
-            return $this->objectToString($iterator) . '<' . $body . '>';
107
+            return $this->objectToString($iterator).'<'.$body.'>';
108 108
         }
109 109
 
110
-        return '[' . $body . ']';
110
+        return '['.$body.']';
111 111
     }
112 112
 
113 113
     /**
Please login to merge, or discard this patch.
src/Parser/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  */
22 22
 class Factory
23 23
 {
24
-    public const GRAMMAR_FILE = __DIR__ . '/../../resources/grammar/sdl.pp';
24
+    public const GRAMMAR_FILE = __DIR__.'/../../resources/grammar/sdl.pp';
25 25
 
26 26
     /**
27 27
      * @var ParserInterface|null
Please login to merge, or discard this patch.
src/Standard/Scalars/IDType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
     /**
29 29
      * Short ID scalar public description.
30 30
      */
31
-    protected const TYPE_DESCRIPTION = 'The `ID` scalar type represents a unique identifier, often used to ' .
32
-        'refetch an object or as key for a cache. The ID type appears in a JSON ' .
33
-        'response as a String; however, it is not intended to be human-readable. ' .
34
-        'When expected as an input type, any string (such as `"4"`) or integer ' .
31
+    protected const TYPE_DESCRIPTION = 'The `ID` scalar type represents a unique identifier, often used to '.
32
+        'refetch an object or as key for a cache. The ID type appears in a JSON '.
33
+        'response as a String; however, it is not intended to be human-readable. '.
34
+        'When expected as an input type, any string (such as `"4"`) or integer '.
35 35
         '(such as `4`) input value will be accepted as an ID.';
36 36
 
37 37
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/StringType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
     /**
27 27
      * Short String scalar public description.
28 28
      */
29
-    protected const TYPE_DESCRIPTION = 'The `String` scalar type represents textual data, represented as UTF-8 ' .
30
-        'character sequences. The String type is most often used by GraphQL to ' .
29
+    protected const TYPE_DESCRIPTION = 'The `String` scalar type represents textual data, represented as UTF-8 '.
30
+        'character sequences. The String type is most often used by GraphQL to '.
31 31
         'represent free-form human-readable text.';
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/IntType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Short Int scalar public description.
28 28
      */
29
-    protected const TYPE_DESCRIPTION = 'The `Int` scalar type represents non-fractional signed whole numeric ' .
29
+    protected const TYPE_DESCRIPTION = 'The `Int` scalar type represents non-fractional signed whole numeric '.
30 30
         'values. Int can represent values between -(2^31) and 2^31 - 1.';
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/FloatType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Short Float scalar public description.
28 28
      */
29
-    protected const TYPE_DESCRIPTION = 'The `Float` scalar type represents signed double-precision fractional ' .
29
+    protected const TYPE_DESCRIPTION = 'The `Float` scalar type represents signed double-precision fractional '.
30 30
         'values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).';
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
src/Standard/Directives/Deprecation/Reason.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 
26 26
     private const ARGUMENT_DEFAULT_VALUE = 'No longer supported';
27 27
 
28
-    private const ARGUMENT_DESCRIPTION = 'You can either supply a reason argument ' .
29
-        'with a string value or not supply one and receive a "No longer supported" ' .
28
+    private const ARGUMENT_DESCRIPTION = 'You can either supply a reason argument '.
29
+        'with a string value or not supply one and receive a "No longer supported" '.
30 30
         'message when introspected';
31 31
 
32 32
     /**
Please login to merge, or discard this patch.