@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime\ScriptLoader; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime\ScriptLoader; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Shopware\Psh\ScriptRuntime; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime\Execution; |
@@ -1,4 +1,4 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime\Execution; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Shopware\Psh\ScriptRuntime\Execution; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime\Execution; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Shopware\Psh\ScriptRuntime\Execution; |
4 | 4 |