@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | throw new \Exception("Invalid step definition: file '$fileName' for saving references already exists"); |
156 | 156 | } |
157 | 157 | |
158 | - if (! $this->referenceResolver instanceof EnumerableReferenceResolverInterface) { |
|
158 | + if (!$this->referenceResolver instanceof EnumerableReferenceResolverInterface) { |
|
159 | 159 | throw new \Exception("Can not save references as resolver is not enumerable"); |
160 | 160 | } |
161 | 161 | |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $value = $this->referenceResolver->resolveReference($dsl['identifier']); |
204 | 204 | VarDumper::dump($value); |
205 | 205 | if (isset($context['output']) && $context['output'] instanceof OutputInterface) { |
206 | - $context['output']->write(ob_get_contents(), false, OutputInterface::OUTPUT_RAW|OutputInterface::VERBOSITY_NORMAL); |
|
206 | + $context['output']->write(ob_get_contents(), false, OutputInterface::OUTPUT_RAW | OutputInterface::VERBOSITY_NORMAL); |
|
207 | 207 | ob_end_clean(); |
208 | 208 | } |
209 | 209 | return $value; |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | |
198 | 198 | if ($input->getOption('todo')) { |
199 | 199 | foreach ($data as $migrationData) { |
200 | - $output->writeln("$migrationData", OutputInterface::OUTPUT_RAW|OutputInterface::VERBOSITY_QUIET); |
|
200 | + $output->writeln("$migrationData", OutputInterface::OUTPUT_RAW | OutputInterface::VERBOSITY_QUIET); |
|
201 | 201 | } |
202 | 202 | return 0; |
203 | 203 | } |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | */ |
227 | 227 | protected function sortMigrationIndex(array &$index, $sortBy) |
228 | 228 | { |
229 | - switch($sortBy) { |
|
229 | + switch ($sortBy) { |
|
230 | 230 | case 'execution': |
231 | 231 | uasort($index, function($m1, $m2) { |
232 | 232 | if (isset($m1['migration']) && $m1['migration']->executionDate !== null) { |