@@ -36,7 +36,7 @@  | 
                                                    ||
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |
| 38 | 38 | /**  | 
                                                        
| 39 | - * @return array  | 
                                                        |
| 39 | + * @return string[]  | 
                                                        |
| 40 | 40 | */  | 
                                                        
| 41 | 41 | public function getAllScriptPaths(): array  | 
                                                        
| 42 | 42 |      { | 
                                                        
@@ -1,4 +1,4 @@  | 
                                                    ||
| 1 | -<?php declare(strict_types=1);  | 
                                                        |
| 1 | +<?php declare(strict_types = 1);  | 
                                                        |
| 2 | 2 | |
| 3 | 3 | namespace Shopware\Psh\Listing;  | 
                                                        
| 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;  | 
                                                        
@@ -108,7 +108,7 @@ discard block  | 
                                                    ||
| 108 | 108 | );  | 
                                                        
| 109 | 109 | |
| 110 | 110 | $this->configBuilder->setTemplates(  | 
                                                        
| 111 | -            array_map(function ($template) use ($file) { | 
                                                        |
| 111 | +            array_map(function($template) use ($file) { | 
                                                        |
| 112 | 112 | $template['source'] = $this->fixPath($template['source'], $file);  | 
                                                        
| 113 | 113 | $template['destination'] = $this->fixPath($template['destination'], $file);  | 
                                                        
| 114 | 114 | |
@@ -159,7 +159,7 @@ discard block  | 
                                                    ||
| 159 | 159 |      { | 
                                                        
| 160 | 160 | $paths = $this->extractData(self::KEY_COMMAND_PATHS, $rawConfigData, []);  | 
                                                        
| 161 | 161 | |
| 162 | -        return array_map(function ($path) use ($file) { | 
                                                        |
| 162 | +        return array_map(function($path) use ($file) { | 
                                                        |
| 163 | 163 | return $this->fixPath($path, $file);  | 
                                                        
| 164 | 164 | }, $paths);  | 
                                                        
| 165 | 165 | }  | 
                                                        
@@ -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\ScriptRuntime;  | 
                                                        
@@ -105,7 +105,7 @@ discard block  | 
                                                    ||
| 105 | 105 | */  | 
                                                        
| 106 | 106 | protected function runProcess(Process $process)  | 
                                                        
| 107 | 107 |      { | 
                                                        
| 108 | -        $process->run(function ($type, $response) { | 
                                                        |
| 108 | +        $process->run(function($type, $response) { | 
                                                        |
| 109 | 109 |              if (Process::ERR === $type) { | 
                                                        
| 110 | 110 | $this->logger->err($response);  | 
                                                        
| 111 | 111 |              } else { | 
                                                        
@@ -1,4 +1,4 @@  | 
                                                    ||
| 1 | -<?php declare(strict_types=1);  | 
                                                        |
| 1 | +<?php declare(strict_types = 1);  | 
                                                        |
| 2 | 2 | |
| 3 | 3 | namespace Shopware\Psh\Listing;  | 
                                                        
| 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\Listing;  | 
                                                        
| 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\Listing;  | 
                                                        
| 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\Listing;  | 
                                                        
| 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\Listing;  | 
                                                        
| 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\Listing;  | 
                                                        
| 4 | 4 | |