Passed
Push — master ( 7dcb0c...268032 )
by P.R.
02:08
created
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/Loader/MySqlRoutineLoader.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
     if (!empty($context->oldRdbmsMetadata))
217 217
     {
218 218
       $this->dl->dropRoutine($context->oldRdbmsMetadata['routine_type'],
219
-                             $context->oldRdbmsMetadata['routine_name']);
219
+                              $context->oldRdbmsMetadata['routine_name']);
220 220
     }
221 221
   }
222 222
 
Please login to merge, or discard this patch.
src/Loader/Helper/RoutineParametersHelper.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
         if ($n!==1)
134 134
         {
135 135
           throw new RoutineLoaderException('Unable to parse data type description %s of parameter %s.',
136
-                                           $parameter['dtd_identifier'],
137
-                                           $parameter['parameter_name']);
136
+                                            $parameter['dtd_identifier'],
137
+                                            $parameter['parameter_name']);
138 138
         }
139 139
 
140 140
         $schemaName = $matches['schema'] ?? null;
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
       if ($n!==1)
171 171
       {
172 172
         throw new RoutineLoaderException('Expected: @paramAddendum <name> <type_of_list> <delimiter> <enclosure> <escape>. Found %s',
173
-                                         $tag);
173
+                                          $tag);
174 174
       }
175 175
 
176 176
       $parameterName = $matches['name'];
@@ -180,10 +180,10 @@  discard block
 block discarded – undo
180 180
       }
181 181
 
182 182
       $this->parametersAddendum[$parameterName] = ['name'      => $parameterName,
183
-                                                   'data_type' => $matches['type'],
184
-                                                   'delimiter' => $matches['delimiter'],
185
-                                                   'enclosure' => $matches['enclosure'],
186
-                                                   'escape'    => $matches['escape']];
183
+                                                    'data_type' => $matches['type'],
184
+                                                    'delimiter' => $matches['delimiter'],
185
+                                                    'enclosure' => $matches['enclosure'],
186
+                                                    'escape'    => $matches['escape']];
187 187
     }
188 188
   }
189 189
 
Please login to merge, or discard this patch.
src/MySqlMetadataLayer.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 where  TABLE_SCHEMA = %s
179 179
 and    TABLE_TYPE   = 'BASE TABLE'
180 180
 order by TABLE_NAME",
181
-                   $this->dl->quoteString($schemaName));
181
+                    $this->dl->quoteString($schemaName));
182 182
 
183 183
     return $this->executeRows($sql);
184 184
   }
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 from   information_schema.TABLES
217 217
 where table_schema = database()
218 218
 and   table_name   = %s',
219
-                   $this->dl->quoteString($tableName));
219
+                    $this->dl->quoteString($tableName));
220 220
 
221 221
     return !empty($this->executeSingleton0($sql));
222 222
   }
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
                                            t2.PARAMETER_MODE  is not null
485 485
 where t1.ROUTINE_SCHEMA = database()
486 486
 and   t1.ROUTINE_NAME   = '%s'",
487
-                   $routineName);
487
+                    $routineName);
488 488
 
489 489
     return $this->executeRows($sql);
490 490
   }
@@ -546,9 +546,9 @@  discard block
 block discarded – undo
546 546
 where  TABLE_SCHEMA = ifnull(%s, database())
547 547
 and    TABLE_NAME   = %s
548 548
 and    COLUMN_NAME  = %s',
549
-                   $this->dl->quoteString($schemaName),
550
-                   $this->dl->quoteString($tableName),
551
-                   $this->dl->quoteString($columnName));
549
+                    $this->dl->quoteString($schemaName),
550
+                    $this->dl->quoteString($tableName),
551
+                    $this->dl->quoteString($columnName));
552 552
 
553 553
     return $this->executeRow1($sql);
554 554
   }
@@ -577,8 +577,8 @@  discard block
 block discarded – undo
577 577
 where  TABLE_SCHEMA = %s
578 578
 and    TABLE_NAME   = %s
579 579
 order by ORDINAL_POSITION',
580
-                   $this->dl->quoteString($schemaName),
581
-                   $this->dl->quoteString($tableName));
580
+                    $this->dl->quoteString($schemaName),
581
+                    $this->dl->quoteString($tableName));
582 582
 
583 583
     return $this->executeRows($sql);
584 584
   }
@@ -599,8 +599,8 @@  discard block
 block discarded – undo
599 599
     $sql = sprintf('
600 600
 show index from `%s`.`%s`
601 601
 where Key_name = \'PRIMARY\'',
602
-                   $schemaName,
603
-                   $tableName);
602
+                    $schemaName,
603
+                    $tableName);
604 604
 
605 605
     return $this->executeRows($sql);
606 606
   }
@@ -621,8 +621,8 @@  discard block
 block discarded – undo
621 621
     $sql = sprintf('
622 622
 show index from `%s`.`%s`
623 623
 where Non_unique = 0',
624
-                   $schemaName,
625
-                   $tableName);
624
+                    $schemaName,
625
+                    $tableName);
626 626
 
627 627
     return $this->executeRows($sql);
628 628
   }
Please login to merge, or discard this patch.
src/Crud/Helper/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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -283,9 +283,9 @@
 block discarded – undo
283 283
           if ($max!==null)
284 284
           {
285 285
             $value = sprintf('%s(%d) character set %s',
286
-                             $column['data_type'],
287
-                             $max,
288
-                             $column['character_set_name']);
286
+                              $column['data_type'],
287
+                              $max,
288
+                              $column['character_set_name']);
289 289
           }
290 290
           else
291 291
           {
Please login to merge, or discard this patch.