Passed
Push — develop ( e383cf...350b49 )
by nguereza
09:07
created
src/Migration/Seed/Command/SeedCreateDbCommand.php 5 patches
Indentation   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $this->queryBuilder = $queryBuilder;
107 107
 
108 108
         $this->setName('seed:createdb')
109
-             ->setDescription('Create a new seed using existing data');
109
+                ->setDescription('Create a new seed using existing data');
110 110
 
111 111
         $this->addArgument('table', 'name of the table', null, true, false);
112 112
         $this->addArgument('name', 'name of seed', null, false, true);
@@ -257,6 +257,4 @@  discard block
 block discarded – undo
257 257
         );
258 258
         $export = join(PHP_EOL, array_filter(['['] + $array));
259 259
         
260
-        return $export;
261
-    }
262
-}
260
+        return $export
263 261
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,6 +257,4 @@
 block discarded – undo
257 257
         );
258 258
         $export = join(PHP_EOL, array_filter(['['] + $array));
259 259
         
260
-        return $export;
261
-    }
262
-}
260
+        return $export
263 261
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,6 +257,4 @@
 block discarded – undo
257 257
         );
258 258
         $export = join(PHP_EOL, array_filter(['['] + $array));
259 259
         
260
-        return $export;
261
-    }
262
-}
260
+        return $export
263 261
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -7 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
63 63
  * @template T
64 64
  * @extends AbstractSeedCommand<T>
65 65
  */
66
-class SeedCreateDbCommand extends AbstractSeedCommand
67
-{
66
+class SeedCreateDbCommand extends AbstractSeedCommand {
68 67
 
69 68
     /**
70 69
      * The seed name
@@ -115,8 +114,7 @@  discard block
 block discarded – undo
115 114
     /**
116 115
      * {@inheritodc}
117 116
      */
118
-    public function execute()
119
-    {
117
+    public function execute() {
120 118
         $writer = $this->io()->writer();
121 119
 
122 120
         $this->table = $this->getArgumentValue('table');
@@ -257,6 +255,4 @@  discard block
 block discarded – undo
257 255
         );
258 256
         $export = join(PHP_EOL, array_filter(['['] + $array));
259 257
         
260
-        return $export;
261
-    }
262
-}
258
+        return $export
263 259
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,6 +257,4 @@
 block discarded – undo
257 257
         );
258 258
         $export = join(PHP_EOL, array_filter(['['] + $array));
259 259
         
260
-        return $export;
261
-    }
262
-}
260
+        return $export
263 261
\ No newline at end of file
Please login to merge, or discard this patch.