Completed
Pull Request — master (#515)
by
unknown
06:01
created
lib/Doctrine/DBAL/Migrations/SqlFileWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $string = $this->buildMigrationFile($queriesByVersion, $direction);
70 70
 
71 71
         if ($this->outputWriter) {
72
-            $this->outputWriter->write("\n" . sprintf('Writing migration file to "<info>%s</info>"', $path));
72
+            $this->outputWriter->write("\n".sprintf('Writing migration file to "<info>%s</info>"', $path));
73 73
         }
74 74
 
75 75
         return file_put_contents($path, $string);
@@ -80,9 +80,9 @@  discard block
 block discarded – undo
80 80
         $string = sprintf("-- Doctrine Migration File Generated on %s\n", date('Y-m-d H:i:s'));
81 81
 
82 82
         foreach ($queriesByVersion as $version => $queries) {
83
-            $string .= "\n-- Version " . $version . "\n";
83
+            $string .= "\n-- Version ".$version."\n";
84 84
             foreach ($queries as $query) {
85
-                $string .= $query . ";\n";
85
+                $string .= $query.";\n";
86 86
             }
87 87
 
88 88
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $path = $this->destPath;
109 109
         if (is_dir($path)) {
110 110
             $path = realpath($path);
111
-            $path = $path . '/doctrine_migration_' . date('YmdHis') . '.sql';
111
+            $path = $path.'/doctrine_migration_'.date('YmdHis').'.sql';
112 112
         }
113 113
 
114 114
         return $path;
Please login to merge, or discard this patch.