@@ -198,7 +198,7 @@ |
||
198 | 198 | } |
199 | 199 | |
200 | 200 | /** |
201 | - * @param $string |
|
201 | + * @param string $string |
|
202 | 202 | */ |
203 | 203 | public function notifySuccess($string) |
204 | 204 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Khill\Duration\Duration; |
7 | 7 | use League\CLImate\CLImate; |
8 | 8 | use Shopware\Psh\Config\Config; |
9 | -use Shopware\Psh\Config\ConfigFileFinder; |
|
10 | 9 | use Shopware\Psh\Listing\Script; |
11 | 10 | use Shopware\Psh\Listing\ScriptNotFoundException; |
12 | 11 | use Shopware\Psh\Listing\ScriptPathNotValidException; |
@@ -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; |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $scriptNames = $this->extractScriptNames($inputArgs); |
76 | 76 | if (count($scriptNames) > 0 && $scriptNames[0] === 'bash_autocompletion_dump') { |
77 | 77 | $scripts = $scriptFinder->getAllScripts(); |
78 | - $commands = array_map(function (Script $script) { |
|
78 | + $commands = array_map(function(Script $script) { |
|
79 | 79 | return $script->getName(); |
80 | 80 | }, $scripts); |
81 | 81 | echo implode(' ', $commands); |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | protected function printConfigFiles(array $configFiles) |
229 | 229 | { |
230 | 230 | for ($i = 0; $i < count($configFiles); $i++) { |
231 | - $configFiles[$i] = str_replace($this->rootDirectory."/", "", $configFiles[$i]); |
|
231 | + $configFiles[$i] = str_replace($this->rootDirectory . "/", "", $configFiles[$i]); |
|
232 | 232 | } |
233 | 233 | |
234 | 234 | if (count($configFiles) == 1) { |