Failed Conditions
Pull Request — master (#537)
by Luís
07:20
created
lib/Doctrine/DBAL/Migrations/QueryWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * <http://www.doctrine-project.org>.
18 18
  */
19 19
 
20
-declare(strict_types=1);
20
+declare(strict_types = 1);
21 21
 
22 22
 namespace Doctrine\DBAL\Migrations;
23 23
 
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/SqlFileWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $string = $this->buildMigrationFile($queriesByVersion, $direction);
79 79
 
80 80
         if ($this->outputWriter) {
81
-            $this->outputWriter->write("\n" . sprintf('Writing migration file to "<info>%s</info>"', $path));
81
+            $this->outputWriter->write("\n".sprintf('Writing migration file to "<info>%s</info>"', $path));
82 82
         }
83 83
 
84 84
         return file_put_contents($path, $string);
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
         $string = sprintf("-- Doctrine Migration File Generated on %s\n", date('Y-m-d H:i:s'));
90 90
 
91 91
         foreach ($queriesByVersion as $version => $queries) {
92
-            $string .= "\n-- Version " . $version . "\n";
92
+            $string .= "\n-- Version ".$version."\n";
93 93
 
94 94
             foreach ($queries as $query) {
95
-                $string .= $query . ";\n";
95
+                $string .= $query.";\n";
96 96
             }
97 97
 
98 98
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
         if (is_dir($path)) {
121 121
             $path = realpath($path);
122
-            $path = $path . '/doctrine_migration_' . date('YmdHis') . '.sql';
122
+            $path = $path.'/doctrine_migration_'.date('YmdHis').'.sql';
123 123
         }
124 124
 
125 125
         return $path;
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Migration.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
          * properly, so I had to violate LoD here (so please, let's find a way to solve it on v2).
101 101
          */
102 102
         return $this->configuration->getQueryWriter()
103
-                                   ->write($path, $direction, $sql);
103
+                                    ->write($path, $direction, $sql);
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.