Completed
Push — master ( c03cfd...3606ec )
by Michael
03:21
created
lib/Console/Command/AbstractDatabaseCommon.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
          */
124 124
         $statements = str_replace(array_keys($replacements), array_values($replacements), explode(';', $sqlStatements));
125 125
         // 5 is a 'magic' number that I think is shorter than any legal SQL statement.
126
-        $statements = array_filter($statements, function ($value) {
126
+        $statements = array_filter($statements, function($value) {
127 127
             return 5 <= strlen(trim($value));
128 128
         });
129 129
         $progress = null;
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                     $progress->finish();
152 152
                     $output->writeln('');
153 153
                 }
154
-                $mess = $sql . PHP_EOL;
154
+                $mess = $sql.PHP_EOL;
155 155
                 $mess .= sprintf(
156 156
                     'Sql failed in %1$s on statement %2$s with (%3$s) %4$s',
157 157
                     $fileName,
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $dic = $this->getDic();
183 183
         foreach (['class', 'database', 'hostName', 'password', 'platform', 'tablePrefix', 'userName'] as $option) {
184 184
             if (!empty($options[$option])) {
185
-                $dic[$base . $option] = $options[$option];
185
+                $dic[$base.$option] = $options[$option];
186 186
             }
187 187
         }
188 188
         if (!empty($options['configFile'])) {
Please login to merge, or discard this patch.