Completed
Pull Request — master (#106)
by Jan Philipp
04:37
created
src/ScriptRuntime/Execution/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\Execution;
Please login to merge, or discard this patch.
src/ScriptRuntime/Execution/LogMessage.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/DeferredProcess.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/SimpleValueProvider.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/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\Execution;
Please login to merge, or discard this patch.
src/Config/XmlConfigFileLoader.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
 namespace Shopware\Psh\Config;
4 4
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     {
140 140
         $pathNodes = $this->extractNodes(self::NODE_PATH, $pshConfigNode);
141 141
 
142
-        return array_map(function (DOMElement $path) use ($file) {
142
+        return array_map(function(DOMElement $path) use ($file) {
143 143
             return $this->fixPath($this->applicationRootDirectory, $path->nodeValue, $file);
144 144
         }, $pathNodes);
145 145
     }
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         $templates = $this->extractNodes(self::NODE_TEMPLATE, $pshConfigNodes);
155 155
 
156
-        return array_map(function (DOMElement $template) use ($file) {
156
+        return array_map(function(DOMElement $template) use ($file) {
157 157
             return [
158 158
                 'source' => $this->fixPath(
159 159
                     $this->applicationRootDirectory,
Please login to merge, or discard this patch.
src/Config/ScriptsPath.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/ConfigFileLoader.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/ConfigFileFinder.php 1 patch
Spacing   +4 added lines, -4 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,19 +48,19 @@  discard block
 block discarded – undo
48 48
             return $globResult;
49 49
         }
50 50
 
51
-        $overrideFiles = array_filter($globResult, function (string $file) {
51
+        $overrideFiles = 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
-        $distFiles = array_filter($globResult, function (string $file) {
57
+        $distFiles = array_filter($globResult, function(string $file) {
58 58
             $extension = pathinfo($file, PATHINFO_EXTENSION);
59 59
 
60 60
             return $extension === 'dist';
61 61
         });
62 62
 
63
-        $configFiles = array_filter($globResult, function (string $file) {
63
+        $configFiles = array_filter($globResult, function(string $file) {
64 64
             $extension = pathinfo($file, PATHINFO_EXTENSION);
65 65
 
66 66
             return $extension !== 'override' && $extension !== 'dist';
Please login to merge, or discard this patch.