Completed
Pull Request — master (#106)
by Jan Philipp
04:37
created
src/ScriptRuntime/ScriptLoader/ScriptLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\ScriptLoader;
Please login to merge, or discard this patch.
src/ScriptRuntime/ScriptLoader/CommandBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\ScriptLoader;
Please login to merge, or discard this patch.
src/ScriptRuntime/WaitCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\ScriptRuntime;
4 4
 
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/TemplateEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\Execution;
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/ProcessExecutor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\Execution;
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      */
185 185
     private function runProcess(Process $process)
186 186
     {
187
-        $process->run(function ($type, $response) {
187
+        $process->run(function($type, $response) {
188 188
             $this->logger->log(new LogMessage($response, $type === Process::ERR));
189 189
         });
190 190
     }
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     {
257 257
         $deferredProcess = new DeferredProcess($parsedCommand, $command, $process);
258 258
 
259
-        $process->start(function ($type, $response) use ($deferredProcess) {
259
+        $process->start(function($type, $response) use ($deferredProcess) {
260 260
             $deferredProcess->log(new LogMessage($response, $type === Process::ERR));
261 261
         });
262 262
 
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/ExecutionErrorException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\Execution;
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/ProcessValueProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\ScriptRuntime\Execution;
4 4
 
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\ScriptRuntime\Execution;
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/ValueProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\ScriptRuntime\Execution;
4 4
 
Please login to merge, or discard this patch.