Completed
Push — master ( c00ec8...083880 )
by Rafael
03:48
created
src/Query/Node/Nodes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
 
85 85
                 $qb = $repo->createQueryBuilder('o', $findBy);
86 86
                 $entities = $qb->where($qb->expr()->in($findBy, $searchValues))
87
-                               ->getQuery()
88
-                               ->getResult();
87
+                                ->getQuery()
88
+                                ->getResult();
89 89
 
90 90
                 foreach ($entities as $searchValue => $entity) {
91 91
                     $expectedResultsOrder[md5($type.$searchValue)] = $entity;
Please login to merge, or discard this patch.
src/Test/ApiTestCase.php 1 patch
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
             $nodeClass = static::getClient()
219
-                               ->getContainer()
220
-                               ->get(DefinitionRegistry::class)
221
-                               ->getEndpoint()
222
-                               ->getClassForType($nodeType);
219
+                                ->getContainer()
220
+                                ->get(DefinitionRegistry::class)
221
+                                ->getEndpoint()
222
+                                ->getClassForType($nodeType);
223 223
 
224 224
             $node = self::getDoctrine()->getEntityManager()->getReference($nodeClass, $node);
225 225
         }
Please login to merge, or discard this patch.
src/Cache/DefinitionCacheWarmer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,9 +103,9 @@
 block discarded – undo
103 103
 
104 104
         /** @var iterable $files */
105 105
         $files = Finder::create()
106
-                       ->in($dirs)
107
-                       ->date(sprintf('>= %s', date('Y-m-d H:i:s', $controlTime)))
108
-                       ->files();
106
+                        ->in($dirs)
107
+                        ->date(sprintf('>= %s', date('Y-m-d H:i:s', $controlTime)))
108
+                        ->files();
109 109
 
110 110
         //exist at least one modified file
111 111
         foreach ($files as $file) {
Please login to merge, or discard this patch.
src/Command/SchemaExportCommand.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
     protected function configure()
43 43
     {
44 44
         $this->setName('graphql:schema:export')
45
-             ->setDescription('Export your schema.')
46
-             ->addOption('endpoint', null, InputOption::VALUE_REQUIRED, 'Name of the endpoint to export', DefinitionRegistry::DEFAULT_ENDPOINT)
47
-             ->addOption('output', 'o', InputOption::VALUE_REQUIRED, 'Name of the file to save the schema, e.i. schema.graphql or schema.json')
48
-             ->addOption('json', null, InputOption::VALUE_NONE, 'Create json output, automatically used if the output contains json extension');
45
+                ->setDescription('Export your schema.')
46
+                ->addOption('endpoint', null, InputOption::VALUE_REQUIRED, 'Name of the endpoint to export', DefinitionRegistry::DEFAULT_ENDPOINT)
47
+                ->addOption('output', 'o', InputOption::VALUE_REQUIRED, 'Name of the file to save the schema, e.i. schema.graphql or schema.json')
48
+                ->addOption('json', null, InputOption::VALUE_NONE, 'Create json output, automatically used if the output contains json extension');
49 49
     }
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
src/Command/SchemaSnapshotCommand.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@
 block discarded – undo
57 57
     protected function configure()
58 58
     {
59 59
         $this->setName('graphql:schema:snapshot')
60
-             ->setDescription('Create a snapshot of your schema to compare using behat tests.')
61
-             ->addOption('endpoint', null, InputOption::VALUE_REQUIRED, 'Name of the endpoint to export', DefinitionRegistry::DEFAULT_ENDPOINT)
62
-             ->addOption('all', 'a', InputOption::VALUE_NONE, 'Create snapshot for all registered endpoints')
63
-             ->addOption('strict', null, InputOption::VALUE_NONE, 'When use strict mode the snapshot must be updated every time your schema change')
64
-             ->addOption('features', null, InputOption::VALUE_REQUIRED, 'Path where should be located the generated features and fixtures');
60
+                ->setDescription('Create a snapshot of your schema to compare using behat tests.')
61
+                ->addOption('endpoint', null, InputOption::VALUE_REQUIRED, 'Name of the endpoint to export', DefinitionRegistry::DEFAULT_ENDPOINT)
62
+                ->addOption('all', 'a', InputOption::VALUE_NONE, 'Create snapshot for all registered endpoints')
63
+                ->addOption('strict', null, InputOption::VALUE_NONE, 'When use strict mode the snapshot must be updated every time your schema change')
64
+                ->addOption('features', null, InputOption::VALUE_REQUIRED, 'Path where should be located the generated features and fixtures');
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
src/Error/Exporter/MarkdownTableExporter.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
 
47 47
         $styleGuide = new TableStyle();
48 48
         $styleGuide->setHorizontalBorderChar('')
49
-                   ->setVerticalBorderChar('|')
50
-                   ->setCrossingChar(' ')
51
-                   ->setCellHeaderFormat('%s');
49
+                    ->setVerticalBorderChar('|')
50
+                    ->setCrossingChar(' ')
51
+                    ->setCellHeaderFormat('%s');
52 52
 
53 53
         $table->setStyle($styleGuide);
54 54
         $table->setRows($rows);
Please login to merge, or discard this patch.
src/Error/Exporter/ConsoleTableExporter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
         $table = new Table($output);
37 37
         $table->setHeaders(['Code', 'Text', 'Description'])
38
-              ->setRows($rows);
38
+                ->setRows($rows);
39 39
         $table->render();
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Command/ControlledErrorCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
     protected function configure()
50 50
     {
51 51
         $this->setName('graphql:error:list')
52
-             ->setDescription('View, export and control your API errors.')
53
-             ->addOption('exporter', 'x', InputOption::VALUE_REQUIRED, 'Exporter to user', 'console')
54
-             ->addOption('output', 'o', InputOption::VALUE_REQUIRED, 'Name of the file to save the error list, e.i. error_codes.md');
52
+                ->setDescription('View, export and control your API errors.')
53
+                ->addOption('exporter', 'x', InputOption::VALUE_REQUIRED, 'Exporter to user', 'console')
54
+                ->addOption('output', 'o', InputOption::VALUE_REQUIRED, 'Name of the file to save the error list, e.i. error_codes.md');
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
src/Resolver/DeferredBuffer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
             $repo = $this->registry->getRepository($class);
79 79
             $qb = $repo->createQueryBuilder('o', 'o.id');
80 80
             $entities = $qb->where($qb->expr()->in('o.id', array_values($ids)))
81
-                           ->getQuery()
82
-                           ->getResult();
81
+                            ->getQuery()
82
+                            ->getResult();
83 83
             foreach ($entities as $entity) {
84 84
                 if ($entity instanceof NodeInterface) {
85 85
                     self::$deferred[$class][$entity->getId()] = $entity;
Please login to merge, or discard this patch.