Passed
Push — master ( 638b9b...570f33 )
by P.R.
01:53
created
src/Wrapper/FunctionWrapper.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,14 +46,14 @@
 block discarded – undo
46 46
     if ($this->routine['return']=='bool')
47 47
     {
48 48
       $this->codeStore->append(sprintf("return !empty(\$this->executeSingleton0('select %s(%s)'));",
49
-                                       $this->routine['routine_name'],
50
-                                       $this->getRoutineArgs()));
49
+                                        $this->routine['routine_name'],
50
+                                        $this->getRoutineArgs()));
51 51
     }
52 52
     else
53 53
     {
54 54
       $this->codeStore->append(sprintf("return \$this->executeSingleton0('select %s(%s)');",
55
-                                       $this->routine['routine_name'],
56
-                                       $this->getRoutineArgs()));
55
+                                        $this->routine['routine_name'],
56
+                                        $this->getRoutineArgs()));
57 57
     }
58 58
   }
59 59
 
Please login to merge, or discard this patch.
src/Helper/Crud/BaseRoutine.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
                                                     $this->tableName,
265 265
                                                     $column['column_name'],
266 266
                                                     '%type')),
267
-                                 false);
267
+                                  false);
268 268
       }
269 269
 
270 270
       if ($column!=end($this->tableColumns))
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
                                                     $this->tableName,
315 315
                                                     $column['column_name'],
316 316
                                                     '%type')),
317
-                                 false);
317
+                                  false);
318 318
       }
319 319
 
320 320
       if ($column!=end($columns))
Please login to merge, or discard this patch.
src/Backend/MySqlRoutineLoaderWorker.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
       }
190 190
 
191 191
       $this->io->error(sprintf("The following source files would result wrapper methods with equal name '%s'",
192
-                               $method));
192
+                                $method));
193 193
       $this->io->listing($tmp);
194 194
     }
195 195
 
@@ -225,8 +225,8 @@  discard block
 block discarded – undo
225 225
       if (!isset($lookup[$oldRoutine['routine_name']]))
226 226
       {
227 227
         $this->io->logInfo('Dropping %s <dbo>%s</dbo>',
228
-                           strtolower($oldRoutine['routine_type']),
229
-                           $oldRoutine['routine_name']);
228
+                            strtolower($oldRoutine['routine_type']),
229
+                            $oldRoutine['routine_name']);
230 230
 
231 231
         $this->dl->dropRoutine($oldRoutine['routine_type'], $oldRoutine['routine_name']);
232 232
       }
@@ -585,9 +585,9 @@  discard block
 block discarded – undo
585 585
           if ($max!==null)
586 586
           {
587 587
             $value = sprintf('%s(%d) character set %s',
588
-                             $column['data_type'],
589
-                             $max,
590
-                             $column['character_set_name']);
588
+                              $column['data_type'],
589
+                              $max,
590
+                              $column['character_set_name']);
591 591
           }
592 592
           else
593 593
           {
Please login to merge, or discard this patch.
src/Helper/RoutineParametersHelper.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
     foreach ($this->parameters as $parameter)
96 96
     {
97 97
       $parameters[] = ['parameter_name' => $parameter['parameter_name'],
98
-                       'php_type'       => DataTypeHelper::columnTypeToPhpTypeHinting($parameter).'|null',
99
-                       'dtd_identifier' => $parameter['dtd_identifier'],
100
-                       'description'    => $lookup[($parameter['parameter_name'])] ?? []];
98
+                        'php_type'       => DataTypeHelper::columnTypeToPhpTypeHinting($parameter).'|null',
99
+                        'dtd_identifier' => $parameter['dtd_identifier'],
100
+                        'description'    => $lookup[($parameter['parameter_name'])] ?? []];
101 101
     }
102 102
 
103 103
     return $parameters;
@@ -201,8 +201,8 @@  discard block
 block discarded – undo
201 201
         if ($n!==1)
202 202
         {
203 203
           throw new RoutineLoaderException('Unable to parse data type description %s of parameter %s.',
204
-                                           $parameter['dtd_identifier'],
205
-                                           $parameter['parameter_name']);
204
+                                            $parameter['dtd_identifier'],
205
+                                            $parameter['parameter_name']);
206 206
         }
207 207
 
208 208
         $schemaName = $matches['schema'] ?? null;
@@ -249,10 +249,10 @@  discard block
 block discarded – undo
249 249
       }
250 250
 
251 251
       $this->parametersAddendum[$parameterName] = ['name'      => $parameterName,
252
-                                                   'data_type' => $dataType,
253
-                                                   'delimiter' => $delimiter,
254
-                                                   'enclosure' => $enclosure,
255
-                                                   'escape'    => $escape];
252
+                                                    'data_type' => $dataType,
253
+                                                    'delimiter' => $delimiter,
254
+                                                    'enclosure' => $enclosure,
255
+                                                    'escape'    => $escape];
256 256
     }
257 257
   }
258 258
 
Please login to merge, or discard this patch.
src/Helper/StratumMetadataHelper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
   public function writeMetadata(StratumStyle $io): void
121 121
   {
122 122
     $data = ['revision' => $this->revision,
123
-             'routines' => $this->routines];
123
+              'routines' => $this->routines];
124 124
 
125 125
     $json = json_encode($data, JSON_PRETTY_PRINT);
126 126
     if (json_last_error()!==JSON_ERROR_NONE)
Please login to merge, or discard this patch.
src/Exception/MySqlQueryErrorException.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,9 +98,9 @@
 block discarded – undo
98 98
   protected function composerMessage(): array
99 99
   {
100 100
     return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string)$this->errno),
101
-                       $this->splitIntoTwoColumns('Error', $this->error),
102
-                       $this->splitIntoTwoColumns('Query', $this->query),
103
-                       $this->splitIntoTwoColumns('Method', $this->method));
101
+                        $this->splitIntoTwoColumns('Error', $this->error),
102
+                        $this->splitIntoTwoColumns('Query', $this->query),
103
+                        $this->splitIntoTwoColumns('Method', $this->method));
104 104
   }
105 105
 
106 106
   //--------------------------------------------------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/Exception/MySqlDataLayerException.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
   protected function composerMessage(): array
89 89
   {
90 90
     return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string)$this->errno),
91
-                       $this->splitIntoTwoColumns('Error', $this->error),
92
-                       $this->splitIntoTwoColumns('Method', $this->method));
91
+                        $this->splitIntoTwoColumns('Error', $this->error),
92
+                        $this->splitIntoTwoColumns('Method', $this->method));
93 93
   }
94 94
 
95 95
   //--------------------------------------------------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/MySqlDataLayer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1035,7 +1035,7 @@
 block discarded – undo
1035 1035
     if ($this->logQueries)
1036 1036
     {
1037 1037
       $this->queryLog[] = ['query' => $query,
1038
-                           'time'  => microtime(true) - $time0];
1038
+                            'time'  => microtime(true) - $time0];
1039 1039
     }
1040 1040
   }
1041 1041
 
Please login to merge, or discard this patch.
src/Backend/MySqlConstantWorker.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -365,8 +365,8 @@
 block discarded – undo
365 365
           if ($n===0)
366 366
           {
367 367
             throw new RuntimeException("Illegal format at line %d in file '%s'.",
368
-                                       $lineNumber,
369
-                                       $this->constantsFilename);
368
+                                        $lineNumber,
369
+                                        $this->constantsFilename);
370 370
           }
371 371
 
372 372
           if (isset($matches[6]))
Please login to merge, or discard this patch.