Passed
Pull Request — master (#1941)
by Vania
02:51
created
src/Phinx/Console/Command/ListAliases.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
                         sprintf('%s %s', str_repeat('=', $maxAliasLength), str_repeat('=', $maxClassLength)),
57 57
                     ],
58 58
                     array_map(
59
-                        function ($alias, $class) use ($maxAliasLength, $maxClassLength) {
59
+                        function($alias, $class) use ($maxAliasLength, $maxClassLength) {
60 60
                             return sprintf('%s %s', str_pad($alias, $maxAliasLength), str_pad($class, $maxClassLength));
61 61
                         },
62 62
                         array_keys($aliases),
Please login to merge, or discard this patch.
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/PostgresAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
             $sql .= sprintf(
552 552
                 ' USING (%s::bigint)',
553 553
                 $this->quoteColumnName($columnName)
554
-            );;
554
+            ); ;
555 555
         }
556 556
 
557 557
         //NULL and DEFAULT cannot be set while changing column type
@@ -1250,7 +1250,7 @@  discard block
 block discarded – undo
1250 1250
         }
1251 1251
 
1252 1252
         $order = $index->getOrder() ?? [];
1253
-        $columnNames = array_map(function ($columnName) use ($order) {
1253
+        $columnNames = array_map(function($columnName) use ($order) {
1254 1254
             $ret = '"' . $columnName . '"';
1255 1255
             if (isset($order[$columnName])) {
1256 1256
                 $ret .= ' ' . $order[$columnName];
Please login to merge, or discard this patch.