Completed
Pull Request — master (#106)
by Jan Philipp
04:37
created
src/Application/ClimateLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\Application;
4 4
 
Please login to merge, or discard this patch.
src/Application/Application.php 1 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;
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $countConfigFiles = count($configFiles);
212 212
         for ($i = 0; $i < $countConfigFiles; $i++) {
213
-            $configFiles[$i] = str_replace($this->rootDirectory."/", "", $configFiles[$i]);
213
+            $configFiles[$i] = str_replace($this->rootDirectory . "/", "", $configFiles[$i]);
214 214
         }
215 215
 
216 216
         if (count($configFiles) == 1) {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 
247 247
         $scripts = $scriptFinder->getAllScripts();
248 248
 
249
-        $commands = array_map(function (Script $script) {
249
+        $commands = array_map(function(Script $script) {
250 250
             return $script->getName();
251 251
         }, $scripts);
252 252
 
Please login to merge, or discard this patch.
src/Listing/Script.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Shopware\Psh\Listing;
Please login to merge, or discard this patch.
src/Listing/ScriptFinder.php 1 patch
Spacing   +2 added lines, -2 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\Listing;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     {
79 79
         $scripts = $this->getAllScripts();
80 80
 
81
-        return array_filter($scripts, function ($key) use ($query) {
81
+        return array_filter($scripts, function($key) use ($query) {
82 82
             return strpos($key, $query) > -1 || levenshtein($key, $query) < 3;
83 83
         }, ARRAY_FILTER_USE_KEY);
84 84
     }
Please login to merge, or discard this patch.
src/ScriptRuntime/TemplateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\ScriptRuntime;
4 4
 
Please login to merge, or discard this patch.
src/ScriptRuntime/Command.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\ScriptRuntime;
4 4
 
Please login to merge, or discard this patch.
src/Config/ConfigLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\Config;
4 4
 
Please login to merge, or discard this patch.
src/Config/ConfigEnvironment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\Config;
4 4
 
Please login to merge, or discard this patch.
src/Config/ConfigBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Shopware\Psh\Config;
4 4
 
Please login to merge, or discard this patch.