Passed
Push — master ( 42f330...ba7fb8 )
by P.R.
31:25 queued 22:00
created
src/Backend/MySqlConstantWorker.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -364,8 +364,8 @@
 block discarded – undo
364 364
           if ($n==0)
365 365
           {
366 366
             throw new RuntimeException("Illegal format at line %d in file '%s'.",
367
-                                       $lineNumber,
368
-                                       $this->constantsFilename);
367
+                                        $lineNumber,
368
+                                        $this->constantsFilename);
369 369
           }
370 370
 
371 371
           if (isset($matches[6]))
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             if ($token[0]==T_WHITESPACE)
222 222
             {
223 223
               $line2 = $token[2];
224
-              if (substr_count($token[1], "\n")>1)
224
+              if (substr_count($token[1], "\n") > 1)
225 225
               {
226 226
                 // Whitespace contains new line: end doc block without constants.
227 227
                 $step = 4;
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
           {
249 249
             if ($token[0]==T_WHITESPACE)
250 250
             {
251
-              if (substr_count($token[1], "\n")<=1)
251
+              if (substr_count($token[1], "\n") <= 1)
252 252
               {
253 253
                 // Ignore whitespace.
254 254
                 $line3 = $token[2];
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
     foreach ($this->constants as $constant => $value)
431 431
     {
432 432
       $width1 = max(mb_strlen($constant), $width1);
433
-      $width2 = max(mb_strlen((string)$value), $width2);
433
+      $width2 = max(mb_strlen((string) $value), $width2);
434 434
     }
435 435
 
436 436
     $format = sprintf('  const %%-%ds = %%%dd;', $width1, $width2);
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
       foreach ($table as $column)
478 478
       {
479 479
         $width1 = max(mb_strlen($column['column_name']), $width1);
480
-        $width2 = max(mb_strlen((string)$column['length']), $width2);
480
+        $width2 = max(mb_strlen((string) $column['length']), $width2);
481 481
       }
482 482
 
483 483
       foreach ($table as $column)
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
         {
487 487
           if (isset($column['constant_name']))
488 488
           {
489
-            $format  = sprintf("%%s.%%-%ds %%%dd %%s\n", $width1, $width2);
489
+            $format = sprintf("%%s.%%-%ds %%%dd %%s\n", $width1, $width2);
490 490
             $content .= sprintf($format,
491 491
                                 $column['table_name'],
492 492
                                 $column['column_name'],
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
           }
496 496
           else
497 497
           {
498
-            $format  = sprintf("%%s.%%-%ds %%%dd\n", $width1, $width2);
498
+            $format = sprintf("%%s.%%-%ds %%%dd\n", $width1, $width2);
499 499
             $content .= sprintf($format,
500 500
                                 $column['table_name'],
501 501
                                 $column['column_name'],
Please login to merge, or discard this patch.
src/Helper/SqlModeHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     if ($this->currentSqlMode!==$this->canonicalSqlModeWithOracle)
92 92
     {
93 93
       $this->dl->setSqlMode($this->canonicalSqlModeWithOracle);
94
-      $this->currentSqlMode = (string)$this->canonicalSqlModeWithOracle;
94
+      $this->currentSqlMode = (string) $this->canonicalSqlModeWithOracle;
95 95
     }
96 96
   }
97 97
 
Please login to merge, or discard this patch.
src/Exception/MySqlQueryErrorException.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
    */
98 98
   protected function composerMessage(): array
99 99
   {
100
-    return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string)$this->errno),
100
+    return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string) $this->errno),
101 101
                        $this->splitIntoTwoColumns('Error', $this->error),
102 102
                        $this->splitIntoTwoColumns('Query', $this->query),
103 103
                        $this->splitIntoTwoColumns('Method', $this->method));
Please login to merge, or discard this patch.
src/Exception/MySqlDataLayerException.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
    */
88 88
   protected function composerMessage(): array
89 89
   {
90
-    return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string)$this->errno),
90
+    return array_merge($this->splitIntoTwoColumns('MySQL Errno', (string) $this->errno),
91 91
                        $this->splitIntoTwoColumns('Error', $this->error),
92 92
                        $this->splitIntoTwoColumns('Method', $this->method));
93 93
   }
Please login to merge, or discard this patch.