@@ -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 | 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 | |
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 | namespace Shopware\Psh\Config; |
4 | 4 | |
@@ -139,7 +139,7 @@ discard block |
||
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 |
||
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, |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Shopware\Psh\Config; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types=1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Shopware\Psh\Config; |
4 | 4 |
@@ -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\Config; |
@@ -48,19 +48,19 @@ discard block |
||
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'; |