Passed
Push — develop ( 7a6395...0c2b91 )
by nguereza
03:02
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);
@@ -238,6 +238,4 @@  discard block
 block discarded – undo
238 238
         }
239 239
         ';
240 240
 
241
-        return $content;
242
-    }
243
-}
241
+        return $content
244 242
\ 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
@@ -238,6 +238,4 @@
 block discarded – undo
238 238
         }
239 239
         ';
240 240
 
241
-        return $content;
242
-    }
243
-}
241
+        return $content
244 242
\ 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
@@ -238,6 +238,4 @@
 block discarded – undo
238 238
         }
239 239
         ';
240 240
 
241
-        return $content;
242
-    }
243
-}
241
+        return $content
244 242
\ 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
         if (!$this->schema->hasTable($this->table, true)) {
@@ -238,6 +236,4 @@  discard block
 block discarded – undo
238 236
         }
239 237
         ';
240 238
 
241
-        return $content;
242
-    }
243
-}
239
+        return $content
244 240
\ 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
@@ -238,6 +238,4 @@
 block discarded – undo
238 238
         }
239 239
         ';
240 240
 
241
-        return $content;
242
-    }
243
-}
241
+        return $content
244 242
\ No newline at end of file
Please login to merge, or discard this patch.