Completed
Pull Request — master (#91)
by
unknown
06:27
created
Core/MigrationService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @param $type string
69
+     * @param string $type string
70 70
      * @return ExecutorInterface
71 71
      * @throws \InvalidArgumentException If executor doesn't exist
72 72
      */
Please login to merge, or discard this patch.
Command/GenerateCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         $activeBundles = array();
92
-        foreach($this->getApplication()->getKernel()->getBundles() as $bundle)
92
+        foreach ($this->getApplication()->getKernel()->getBundles() as $bundle)
93 93
         {
94 94
             $activeBundles[] = $bundle->getName();
95 95
         }
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                     $className = 'Migration';
164 164
                 }
165 165
                 // Make sure that php class names are unique, not only migration definition file names
166
-                $existingMigrations = count(glob($migrationDirectory.'/*_' . $className .'*.php'));
166
+                $existingMigrations = count(glob($migrationDirectory . '/*_' . $className . '*.php'));
167 167
                 if ($existingMigrations) {
168 168
                     $className = $className . sprintf('%03d', $existingMigrations + 1);
169 169
                 }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
                     throw new \Exception("The combination of migration type '$migrationType' is not supported with format '$fileType'");
212 212
                 }
213 213
 
214
-                $code = $this->getContainer()->get('twig')->render($this->thisBundle . ':MigrationTemplate:'.$template, $parameters);
214
+                $code = $this->getContainer()->get('twig')->render($this->thisBundle . ':MigrationTemplate:' . $template, $parameters);
215 215
                 break;
216 216
             default:
217 217
                 // Generate migration file by executor
Please login to merge, or discard this patch.