Completed
Push — master ( ec8ced...26f03f )
by Kévin
13s
created
src/Bridge/Symfony/Validator/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Symfony\Validator;
15 15
 
Please login to merge, or discard this patch.
src/Swagger/Serializer/DocumentationNormalizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Swagger\Serializer;
15 15
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 $parametersMemory = [];
147 147
                 $pathOperation['parameters'] = [];
148 148
 
149
-                foreach ($subresourceOperation['identifiers'] as list($identifier, , $hasIdentifier)) {
149
+                foreach ($subresourceOperation['identifiers'] as list($identifier,, $hasIdentifier)) {
150 150
                     if (true === $hasIdentifier) {
151 151
                         $pathOperation['parameters'][] = ['name' => $identifier, 'in' => 'path', 'required' => true, 'type' => 'string'];
152 152
                         $parametersMemory[] = $identifier;
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         }
451 451
 
452 452
         if (!isset($definitions[$definitionKey])) {
453
-            $definitions[$definitionKey] = [];  // Initialize first to prevent infinite loop
453
+            $definitions[$definitionKey] = []; // Initialize first to prevent infinite loop
454 454
             $definitions[$definitionKey] = $this->getDefinitionSchema($resourceClass, $resourceMetadata, $definitions, $serializerContext);
455 455
         }
456 456
 
Please login to merge, or discard this patch.
src/DataProvider/ContextAwareCollectionDataProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\DataProvider;
15 15
 
Please login to merge, or discard this patch.
Doctrine/Orm/Extension/ContextAwareQueryResultItemExtensionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension;
15 15
 
Please login to merge, or discard this patch.
Doctrine/Orm/Extension/ContextAwareQueryCollectionExtensionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension;
15 15
 
Please login to merge, or discard this patch.
Bridge/Doctrine/Orm/Extension/ContextAwareQueryItemExtensionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension;
15 15
 
Please login to merge, or discard this patch.
Orm/Extension/ContextAwareQueryResultCollectionExtensionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension;
15 15
 
Please login to merge, or discard this patch.
src/EventListener/ReadListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\EventListener;
15 15
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
         $attributes['subresource_context'] += $context;
135 135
         $identifiers = [];
136
-        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id, , $hasIdentifier)) {
136
+        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id,, $hasIdentifier)) {
137 137
             if (true === $hasIdentifier) {
138 138
                 $identifiers[$id] = $request->attributes->get($id);
139 139
             }
Please login to merge, or discard this patch.
src/GraphQl/Type/SchemaBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\GraphQl\Type;
15 15
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                     'description' => 'The id of this node.',
119 119
                 ],
120 120
             ],
121
-            'resolveType' => function ($value) {
121
+            'resolveType' => function($value) {
122 122
                 if (!isset($value[ItemNormalizer::ITEM_KEY])) {
123 123
                     return null;
124 124
                 }
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
                         }
235 235
 
236 236
                         parse_str($key, $parsed);
237
-                        array_walk_recursive($parsed, function (&$value) use ($graphqlFilterType) {
237
+                        array_walk_recursive($parsed, function(&$value) use ($graphqlFilterType) {
238 238
                             $value = $graphqlFilterType;
239 239
                         });
240 240
                         $args = $this->mergeFilterArgs($args, $parsed, $resourceMetadata, $key);
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
             'name' => $shortName,
388 388
             'description' => $resourceMetadata->getDescription(),
389 389
             'resolveField' => $this->defaultFieldResolver,
390
-            'fields' => function () use ($resourceClass, $resourceMetadata, $input, $mutationName) {
390
+            'fields' => function() use ($resourceClass, $resourceMetadata, $input, $mutationName) {
391 391
                 return $this->getResourceObjectTypeFields($resourceClass, $resourceMetadata, $input, $mutationName);
392 392
             },
393 393
             'interfaces' => [$this->getNodeInterface()],
Please login to merge, or discard this patch.