Completed
Push — master ( 7a107a...5cd32c )
by Rafael
04:36
created
src/Type/Definition/InputObjectDefinitionType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@
 block discarded – undo
47 47
             [
48 48
                 'name' => $definition->getName(),
49 49
                 'description' => $definition->getDescription(),
50
-                'fields' => function () {
50
+                'fields' => function() {
51 51
                     return $this->resolveFields();
52 52
                 },
53
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
53
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
54 54
                     $resolver = new ObjectFieldResolver(
55 55
                         $this->container,
56 56
                         $this->endpoint,
Please login to merge, or discard this patch.
src/Test/ApiTestCase.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -216,10 +216,10 @@
 block discarded – undo
216 216
 
217 217
         if ($node instanceof NodeInterface) {
218 218
             $nodeType = static::getClient()
219
-                              ->getContainer()
220
-                              ->get(DefinitionRegistry::class)
221
-                              ->getEndpoint()
222
-                              ->getTypeForClass(ClassUtils::getClass($node));
219
+                                ->getContainer()
220
+                                ->get(DefinitionRegistry::class)
221
+                                ->getEndpoint()
222
+                                ->getTypeForClass(ClassUtils::getClass($node));
223 223
 
224 224
             $node = $node->getId();
225 225
         }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
 
260 260
             /** @var Response $response */
261 261
             $response = static::getClient()->getResponse();
262
-            $bg = $response->getStatusCode() >= 400 ? 41: 42;
262
+            $bg = $response->getStatusCode() >= 400 ? 41 : 42;
263 263
             print_r("\033[{$bg}m-------------------- RESPONSE ----------------------\n\n\033[0m");
264 264
             print_r(sprintf("STATUS: [%s] %s \n", $response->getStatusCode(), Response::$statusTexts[$response->getStatusCode()] ?? 'Unknown Status'));
265 265
             print_r(sprintf("TIME: %s ms \n\n", self::$lastQueryExecutionTime));
Please login to merge, or discard this patch.
src/Test/Helper/DoctrineHelperTrait.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
51 51
         $id = ID::createFromString($id);
52 52
         $databaseId = $id->getDatabaseId();
53 53
         $class = static::getClient()
54
-                       ->getContainer()
55
-                       ->get(DefinitionRegistry::class)
56
-                       ->getEndpoint()
57
-                       ->getClassForType($id->getNodeType());
54
+                        ->getContainer()
55
+                        ->get(DefinitionRegistry::class)
56
+                        ->getEndpoint()
57
+                        ->getClassForType($id->getNodeType());
58 58
 
59 59
         return static::getRepository($class)->find($databaseId);
60 60
     }
Please login to merge, or discard this patch.
src/Behat/Transformer/TransformPystringToYamlstring.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         //parse
64 64
         array_walk_recursive(
65 65
             $parsedValue,
66
-            function (&$value) use ($definitionCall, $argumentIndex) {
66
+            function(&$value) use ($definitionCall, $argumentIndex) {
67 67
                 foreach ($this->transformers as $transformer) {
68 68
                     if ($transformer->supportsDefinitionAndArgument($definitionCall, $argumentIndex, $value)) {
69 69
                         $value = $transformer->transformArgument($definitionCall, $argumentIndex, $value);
Please login to merge, or discard this patch.
src/Behat/Transformer/ExpressionLanguage/JMESPathSearchProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
         if (preg_match('/search\(/', $expression)) {
31 31
             $el->register(
32 32
                 'search',
33
-                function ($expression, $data) {
33
+                function($expression, $data) {
34 34
                     return sprintf('$search(%s, %s)', $expression, $data);
35 35
                 },
36
-                function (array $variables, $expression, $data) {
36
+                function(array $variables, $expression, $data) {
37 37
                     return $variables['search']($expression, $data);
38 38
                 }
39 39
             );
40 40
 
41
-            $values['search'] = function ($expression, $data) {
41
+            $values['search'] = function($expression, $data) {
42 42
                 return search($expression, $data);
43 43
             };
44 44
         }
Please login to merge, or discard this patch.
src/Behat/Client/GraphQLClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     public function request($method, $uri, array $parameters = [], array $files = [], array $server = [], $content = null, $changeHistory = true)
225 225
     {
226 226
         set_error_handler(
227
-            function ($level, $message, $errFile, $errLine) {
227
+            function($level, $message, $errFile, $errLine) {
228 228
                 if ($this->deprecationAdviser) {
229 229
                     $this->deprecationAdviser->addWarning($message, $errFile, $errLine);
230 230
                 }
Please login to merge, or discard this patch.
src/Behat/Deprecation/DeprecationAdviser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         if (!empty($this->warnings)) {
56 56
             uasort(
57 57
                 $this->warnings,
58
-                function ($a, $b) {
58
+                function($a, $b) {
59 59
                     if (count($a) === count($b)) {
60 60
                         return 0;
61 61
                     }
Please login to merge, or discard this patch.
src/Query/Node/AllNodesWithPagination.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,10 +207,10 @@
 block discarded – undo
207 207
         $paramName = 'root'.mt_rand();
208 208
         if ($this->queryDefinition->getMeta('pagination')['parent_relation'] === PaginationDefinitionPlugin::MANY_TO_MANY) {
209 209
             $qb->andWhere(sprintf(':%s MEMBER OF %s.%s', $paramName, $this->queryAlias, $parentField))
210
-               ->setParameter($paramName, $root);
210
+                ->setParameter($paramName, $root);
211 211
         } else {
212 212
             $qb->andWhere(sprintf('%s.%s = :%s', $this->queryAlias, $parentField, $paramName))
213
-               ->setParameter($paramName, $root);
213
+                ->setParameter($paramName, $root);
214 214
         }
215 215
     }
216 216
 }
Please login to merge, or discard this patch.
src/Command/GraphQLPluginOptionsCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     protected function configure()
32 32
     {
33 33
         $this->setName('graphql:plugins')
34
-             ->setDescription('Expose all available options for one or all graphql plugins')
35
-             ->addArgument('plugin', InputArgument::OPTIONAL, 'Show only options for given plugin');
34
+                ->setDescription('Expose all available options for one or all graphql plugins')
35
+                ->addArgument('plugin', InputArgument::OPTIONAL, 'Show only options for given plugin');
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.