Passed
Push — master ( d55943...2c5004 )
by Gaetano
06:36
created
Core/EventListener/TracingStepExecutedListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
         }
158 158
 
159 159
         if ($this->output && $this->output->isVeryVerbose()) {
160
-           $out .= sprintf(". <info>Time taken: %.3f secs, memory delta: %d bytes</info>", $stepTime, $stepMemory);
160
+            $out .= sprintf(". <info>Time taken: %.3f secs, memory delta: %d bytes</info>", $stepTime, $stepMemory);
161 161
         }
162 162
 
163 163
         $this->echoMessage($out);
Please login to merge, or discard this patch.
Core/MigrationService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -599,8 +599,9 @@
 block discarded – undo
599 599
      */
600 600
     public function getCurrentContext($migrationName)
601 601
     {
602
-        if (!isset($this->migrationContext[$migrationName]))
603
-            return null;
602
+        if (!isset($this->migrationContext[$migrationName])) {
603
+                    return null;
604
+        }
604 605
         $context = $this->migrationContext[$migrationName];
605 606
         // avoid attempting to store the current outputInterface when saving the context
606 607
         if (isset($context['output'])) {
Please login to merge, or discard this patch.
Core/Executor/ReferenceExecutor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.