Completed
Pull Request — master (#57)
by Jan
04:23
created
src/Application/Application.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     }
199 199
 
200 200
     /**
201
-     * @param $string
201
+     * @param string $string
202 202
      */
203 203
     public function notifySuccess($string)
204 204
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
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;
Please login to merge, or discard this 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\Application;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.