Passed
Push — master ( 724c6f...9da6fd )
by Rafael
06:22
created
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 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     protected function execute(InputInterface $input, OutputInterface $output)
61 61
     {
62
-        $this->errorManager->clear();//force reload
62
+        $this->errorManager->clear(); //force reload
63 63
         $errors = $this->errorManager->all();
64 64
 
65 65
         $result = $output;
Please login to merge, or discard this patch.
src/Controller/GraphQLEndpointController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 
207 207
             $result->setErrorFormatter([$formatter, 'format']);
208 208
             $result->setErrorsHandler(
209
-                function ($errors) use ($handler, $formatter, $debugFlags) {
209
+                function($errors) use ($handler, $formatter, $debugFlags) {
210 210
                     return $handler->handle($errors, $formatter, $debugFlags);
211 211
                 }
212 212
             );
Please login to merge, or discard this patch.