We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -89,21 +89,21 @@ discard block |
||
89 | 89 | 'friends' => [ |
90 | 90 | [ |
91 | 91 | 'name' => 'Luke Skywalker', |
92 | - 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI',], |
|
92 | + 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI', ], |
|
93 | 93 | 'friends' => [ |
94 | - ['name' => 'Han Solo',], |
|
95 | - ['name' => 'Leia Organa',], |
|
96 | - ['name' => 'C-3PO',], |
|
97 | - ['name' => 'R2-D2',], |
|
94 | + ['name' => 'Han Solo', ], |
|
95 | + ['name' => 'Leia Organa', ], |
|
96 | + ['name' => 'C-3PO', ], |
|
97 | + ['name' => 'R2-D2', ], |
|
98 | 98 | ], |
99 | 99 | ], |
100 | 100 | [ |
101 | 101 | 'name' => 'Han Solo', |
102 | 102 | 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI'], |
103 | 103 | 'friends' => [ |
104 | - ['name' => 'Luke Skywalker',], |
|
104 | + ['name' => 'Luke Skywalker', ], |
|
105 | 105 | ['name' => 'Leia Organa'], |
106 | - ['name' => 'R2-D2',], |
|
106 | + ['name' => 'R2-D2', ], |
|
107 | 107 | ] |
108 | 108 | ], |
109 | 109 | [ |
@@ -111,10 +111,10 @@ discard block |
||
111 | 111 | 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI'], |
112 | 112 | 'friends' => |
113 | 113 | [ |
114 | - ['name' => 'Luke Skywalker',], |
|
115 | - ['name' => 'Han Solo',], |
|
116 | - ['name' => 'C-3PO',], |
|
117 | - ['name' => 'R2-D2',], |
|
114 | + ['name' => 'Luke Skywalker', ], |
|
115 | + ['name' => 'Han Solo', ], |
|
116 | + ['name' => 'C-3PO', ], |
|
117 | + ['name' => 'R2-D2', ], |
|
118 | 118 | ], |
119 | 119 | ], |
120 | 120 | ], |
@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | public function getSkeletonDirs(bool $withDefault = true): array |
101 | 101 | { |
102 | - $skeletonDirs = $this->skeletonDirs ; |
|
102 | + $skeletonDirs = $this->skeletonDirs; |
|
103 | 103 | |
104 | 104 | if ($withDefault) { |
105 | 105 | $skeletonDirs[] = __DIR__.'/../Resources/skeleton'; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): callable |
27 | 27 | { |
28 | - return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema { |
|
28 | + return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema { |
|
29 | 29 | static $schema = null; |
30 | 30 | if (null === $schema) { |
31 | 31 | $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | }) |
35 | 35 | ->end() |
36 | 36 | ->validate() |
37 | - ->always(function($value){ |
|
37 | + ->always(function ($value) { |
|
38 | 38 | if (empty($value['validationGroups'])) { |
39 | 39 | unset($value['validationGroups']); |
40 | 40 | } |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | $autoThrow = false; |
312 | 312 | $this->addUseStatement(ResolveErrors::class); |
313 | 313 | |
314 | - $extraCode .= '$errors = new ResolveErrors();' . "\n\n<spaces><spaces>"; |
|
314 | + $extraCode .= '$errors = new ResolveErrors();'."\n\n<spaces><spaces>"; |
|
315 | 315 | } |
316 | 316 | |
317 | 317 | if ($mapping) { |
@@ -319,8 +319,8 @@ discard block |
||
319 | 319 | $this->addInternalUseStatement(InputValidator::class); |
320 | 320 | } elseif (false === $autoValidation) { |
321 | 321 | throw new GeneratorException( |
322 | - "Unable to inject an instance of the InputValidator. No validation constraints provided. " . |
|
323 | - "Please remove the InputValidator argument from the list of dependencies of your " . |
|
322 | + "Unable to inject an instance of the InputValidator. No validation constraints provided. ". |
|
323 | + "Please remove the InputValidator argument from the list of dependencies of your ". |
|
324 | 324 | "resolver or provide validation configs." |
325 | 325 | ); |
326 | 326 | } |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | $code .= "\n\n<spaces><spaces>"; |
349 | 349 | |
350 | 350 | if ($groups) { |
351 | - $groups = "[" . \implode(",", \array_map(function($value) { return "'$value'"; }, $groups)) . "]"; |
|
351 | + $groups = "[".\implode(",", \array_map(function ($value) { return "'$value'"; }, $groups))."]"; |
|
352 | 352 | } else { |
353 | 353 | $groups = "null"; |
354 | 354 | } |