Passed
Push — main ( c49c6c...49fc69 )
by Gaetano
08:47
created
Core/Executor/MailExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         }
92 92
         if (isset($dsl['attach'])) {
93 93
             $paths = $this->resolveReferencesRecursively($dsl['attach']);
94
-            foreach((array)$paths as $path) {
94
+            foreach ((array)$paths as $path) {
95 95
                 // we use the same logic as for the image/file fields in content: look up file 1st relative to the migration
96 96
                 $attachment = dirname($context['path']) . '/' . $path;
97 97
                 if (!is_file($attachment)) {
Please login to merge, or discard this patch.
Core/Executor/ReferenceExecutor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
             throw new MigrationBundleException("Invalid step definition: file '$fileName' for saving references already exists");
171 171
         }
172 172
 
173
-        if (! $this->referenceResolver instanceof EnumerableReferenceResolverInterface) {
173
+        if (!$this->referenceResolver instanceof EnumerableReferenceResolverInterface) {
174 174
             throw new MigrationBundleException("Can not save references as resolver is not enumerable");
175 175
         }
176 176
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         $value = $this->dumpVar($this->resolveReference($dsl['identifier']));
216 216
 
217 217
         if (isset($context['output']) && $context['output'] instanceof OutputInterface) {
218
-            $context['output']->write($label . $value, false, OutputInterface::OUTPUT_RAW|OutputInterface::VERBOSITY_NORMAL);
218
+            $context['output']->write($label . $value, false, OutputInterface::OUTPUT_RAW | OutputInterface::VERBOSITY_NORMAL);
219 219
         } else {
220 220
             echo $label . $value;
221 221
         }
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
         $dumper->dump(
239 239
             $cloner->cloneVar($var),
240
-            function ($line, $depth) use (&$output) {
240
+            function($line, $depth) use (&$output) {
241 241
                 // A negative depth means "end of dump"
242 242
                 if ($depth >= 0) {
243 243
                     // Adds a two spaces indentation to the line
Please login to merge, or discard this patch.
Core/Executor/HTTPExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $body = isset($dsl['body']) ? $this->resolveReferencesInText($dsl['body']) : null;
77 77
 
78 78
         if (isset($dsl['client'])) {
79
-            $client = $this->container->get('httplug.client.'.$this->resolveReference($dsl['client']));
79
+            $client = $this->container->get('httplug.client.' . $this->resolveReference($dsl['client']));
80 80
         } else {
81 81
             $client = $this->container->get('httplug.client');
82 82
         }
Please login to merge, or discard this patch.