Test Failed
Pull Request — 1.x (#36)
by
unknown
04:32
created
src/Driver/MySQL/Schema/MySQLColumn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
         //Fetching enum values
223 223
         if ($options !== [] && $column->getAbstractType() === 'enum') {
224 224
             $column->enumValues = array_map(
225
-                static function ($value) {
225
+                static function($value) {
226 226
                     return trim($value, $value[0]);
227 227
                 },
228 228
                 $options
Please login to merge, or discard this patch.
src/Driver/Postgres/PostgresDriver.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@
 block discarded – undo
106 106
         }
107 107
 
108 108
         $this->primaryKeys[$name] = $this->getSchemaHandler()
109
-                                         ->getSchema($table, $prefix)
110
-                                         ->getPrimaryKeys();
109
+                                            ->getSchema($table, $prefix)
110
+                                            ->getPrimaryKeys();
111 111
 
112 112
         if (count($this->primaryKeys[$name]) === 1) {
113 113
             //We do support only single primary key
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
             return new StatementException\ConnectionException($exception, $query);
190 190
         }
191 191
 
192
-        if ((int) $exception->getCode() >= 23000 && (int) $exception->getCode() < 24000) {
192
+        if ((int)$exception->getCode() >= 23000 && (int)$exception->getCode() < 24000) {
193 193
             return new StatementException\ConstrainException($exception, $query);
194 194
         }
195 195
 
Please login to merge, or discard this patch.
src/Driver/CompilerCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
                 }
316 316
             }
317 317
 
318
-            $hash .= (string) $column . ',';
318
+            $hash .= (string)$column . ',';
319 319
         }
320 320
 
321 321
         return $hash;
Please login to merge, or discard this patch.
src/Driver/Quoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     {
153 153
         return preg_replace_callback(
154 154
             '/([a-z][0-9_a-z\.]*\(?)/i',
155
-            function ($match) {
155
+            function($match) {
156 156
                 $identifier = $match[1];
157 157
 
158 158
                 //Function name
Please login to merge, or discard this patch.
src/Driver/Compiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     {
310 310
         $result = [];
311 311
         foreach ($groupBy as $identifier) {
312
-            $result[] =  $this->name($params, $q, $identifier);
312
+            $result[] = $this->name($params, $q, $identifier);
313 313
         }
314 314
 
315 315
         return implode(', ', $result);
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     {
410 410
         // let's quote every identifier
411 411
         $columns = array_map(
412
-            function ($column) use ($params, $q) {
412
+            function($column) use ($params, $q) {
413 413
                 return $this->name($params, $q, $column);
414 414
             },
415 415
             $columns
Please login to merge, or discard this patch.
src/Query/Traits/WhereTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     private function whereWrapper(): Closure
110 110
     {
111
-        return static function ($parameter) {
111
+        return static function($parameter) {
112 112
             if (is_array($parameter)) {
113 113
                 throw new BuilderException(
114 114
                     'Arrays must be wrapped with Parameter instance'
Please login to merge, or discard this patch.
src/Query/Traits/JoinTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      */
374 374
     private function onWrapper(): Closure
375 375
     {
376
-        return static function ($parameter) {
376
+        return static function($parameter) {
377 377
             if ($parameter instanceof FragmentInterface || $parameter instanceof ParameterInterface) {
378 378
                 return $parameter;
379 379
             }
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
      */
390 390
     private function onWhereWrapper(): Closure
391 391
     {
392
-        return static function ($parameter) {
392
+        return static function($parameter) {
393 393
             if (is_array($parameter)) {
394 394
                 throw new BuilderException(
395 395
                     'Arrays must be wrapped with Parameter instance'
Please login to merge, or discard this patch.
src/Query/Traits/HavingTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     private function havingWrapper(): Closure
110 110
     {
111
-        return static function ($parameter) {
111
+        return static function($parameter) {
112 112
             if (is_array($parameter)) {
113 113
                 throw new BuilderException(
114 114
                     'Arrays must be wrapped with Parameter instance'
Please login to merge, or discard this patch.
src/Schema/AbstractTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -834,7 +834,7 @@
 block discarded – undo
834 834
             foreach ($target->getForeignKeys() as $foreign) {
835 835
                 $foreign->columns(
836 836
                     array_map(
837
-                        static function ($column) use ($initial, $name) {
837
+                        static function($column) use ($initial, $name) {
838 838
                             if ($column === $initial->getName()) {
839 839
                                 return $name->getName();
840 840
                             }
Please login to merge, or discard this patch.