@@ -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\Application; |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | protected function printConfigFiles(array $configFiles) |
| 215 | 215 | { |
| 216 | 216 | for ($i = 0; $i < count($configFiles); $i++) { |
| 217 | - $configFiles[$i] = str_replace($this->rootDirectory."/", "", $configFiles[$i]); |
|
| 217 | + $configFiles[$i] = str_replace($this->rootDirectory . "/", "", $configFiles[$i]); |
|
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | if (count($configFiles) == 1) { |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | |
| 251 | 251 | $scripts = $scriptFinder->getAllScripts(); |
| 252 | 252 | |
| 253 | - $commands = array_map(function (Script $script) { |
|
| 253 | + $commands = array_map(function(Script $script) { |
|
| 254 | 254 | return $script->getName(); |
| 255 | 255 | }, $scripts); |
| 256 | 256 | |
@@ -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,13 +48,13 @@ discard block |
||
| 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'; |