Passed
Pull Request — master (#1939)
by
unknown
02:54
created
src/composer_autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  *
7 7
  * @return bool
8 8
  */
9
-return function () {
9
+return function() {
10 10
     $files = [
11 11
       __DIR__ . '/../../../autoload.php', // composer dependency
12 12
       __DIR__ . '/../vendor/autoload.php', // stand-alone package
Please login to merge, or discard this patch.
src/Phinx/Db/Adapter/MysqlAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1311,7 +1311,7 @@  discard block
 block discarded – undo
1311 1311
             $def .= '(' . $sqlType['limit'] . ')';
1312 1312
         }
1313 1313
         if (($values = $column->getValues()) && is_array($values)) {
1314
-            $def .= "(" . implode(", ", array_map(function ($value) {
1314
+            $def .= "(" . implode(", ", array_map(function($value) {
1315 1315
                 // we special case NULL as it's not actually allowed an enum value,
1316 1316
                 // and we want MySQL to issue an error on the create statement, but
1317 1317
                 // quote coerces it to an empty string, which will not error
@@ -1382,7 +1382,7 @@  discard block
 block discarded – undo
1382 1382
         if (!empty($columnNames)) {
1383 1383
             foreach ($columnNames as $key => $value) {
1384 1384
                 $loc = array_search($key, $columnNames);
1385
-                $columnNames[$key] = is_array($order) && array_key_exists($value, $order) ? sprintf('`%s` %s', $value, $order[$value]) :  sprintf('`%s`', $value);
1385
+                $columnNames[$key] = is_array($order) && array_key_exists($value, $order) ? sprintf('`%s` %s', $value, $order[$value]) : sprintf('`%s`', $value);
1386 1386
             }
1387 1387
         }
1388 1388
 
Please login to merge, or discard this patch.