Completed
Push — master ( 4b25c3...937114 )
by Jan Philipp
12s
created
src/ScriptRuntime/Logger.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\ScriptRuntime;
Please login to merge, or discard this patch.
src/ScriptRuntime/ProcessValueProvider.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\ScriptRuntime;
Please login to merge, or discard this patch.
src/ScriptRuntime/SimpleValueProvider.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\ScriptRuntime;
Please login to merge, or discard this patch.
src/ScriptRuntime/ProcessEnvironment.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\ScriptRuntime;
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
 
4 4
 namespace Shopware\Psh\ScriptRuntime;
Please login to merge, or discard this patch.
src/ScriptRuntime/ProcessCommand.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\ScriptRuntime;
Please login to merge, or discard this patch.
src/Config/ScriptPath.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\Config;
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/Application/Application.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\Application;
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $scriptNames = $this->extractScriptNames($inputArgs);
73 73
         if (count($scriptNames) > 0 && $scriptNames[0] === 'bash_autocompletion_dump') {
74 74
             $scripts = $scriptFinder->getAllScripts();
75
-            $commands = array_map(function (Script $script) {
75
+            $commands = array_map(function(Script $script) {
76 76
                 return $script->getName();
77 77
             }, $scripts);
78 78
             echo implode(' ', $commands);
Please login to merge, or discard this patch.