Completed
Pull Request — master (#76)
by Jan Philipp
02:23
created
src/ScriptRuntime/TemplateNotValidException.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;
Please login to merge, or discard this patch.
src/ScriptRuntime/ProcessCommand.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;
Please login to merge, or discard this patch.
src/ScriptRuntime/Template.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;
Please login to merge, or discard this patch.
src/ScriptRuntime/ProcessExecutor.php 1 patch
Spacing   +2 added lines, -2 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;
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     protected function runProcess(Process $process)
137 137
     {
138
-        $process->run(function ($type, $response) {
138
+        $process->run(function($type, $response) {
139 139
             if (Process::ERR === $type) {
140 140
                 $this->logger->err($response);
141 141
             } else {
Please login to merge, or discard this patch.
src/ScriptRuntime/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;
Please login to merge, or discard this patch.
src/Config/Config.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\Config;
4 4
 
Please login to merge, or discard this patch.
src/Config/YamlConfigFileLoader.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\Config;
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     {
151 151
         $paths = $this->extractData(self::KEY_COMMAND_PATHS, $rawConfigData, []);
152 152
 
153
-        return array_map(function ($path) use ($file) {
153
+        return array_map(function($path) use ($file) {
154 154
             return $this->fixPath($path, $file);
155 155
         }, $paths);
156 156
     }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     {
165 165
         $templates = $this->extractData(self::KEY_TEMPLATES, $rawConfigData, []);
166 166
 
167
-        return array_map(function ($template) use ($file) {
167
+        return array_map(function($template) use ($file) {
168 168
             $template['source'] = $this->fixPath($template['source'], $file);
169 169
             $template['destination'] = $this->makeAbsolutePath($file, $template['destination']);
170 170
 
Please login to merge, or discard this patch.
src/Config/ConfigFileFinder.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\Config;
@@ -48,13 +48,13 @@  discard block
 block discarded – undo
48 48
             return $globResult;
49 49
         }
50 50
 
51
-        $overrideFile = array_filter($globResult, function (string $file) {
51
+        $overrideFile = array_filter($globResult, function(string $file) {
52 52
             $extension = pathinfo($file, PATHINFO_EXTENSION);
53 53
 
54 54
             return $extension === 'override';
55 55
         });
56 56
 
57
-        $configFile = array_filter($globResult, function (string $file) {
57
+        $configFile = array_filter($globResult, function(string $file) {
58 58
             $extension = pathinfo($file, PATHINFO_EXTENSION);
59 59
 
60 60
             return $extension !== 'override';
Please login to merge, or discard this patch.
src/Config/ConfigLoader.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\Config;
Please login to merge, or discard this patch.