@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | |
4 | 4 | namespace Shopware\Psh\Config; |
@@ -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\Listing; |
@@ -78,7 +78,7 @@ discard block |
||
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 | } |
@@ -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; |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | if (count($globResult)) { |
22 | 22 | $configFiles[] = $this->preferNonDistributionFiles($globResult); |
23 | 23 | if ($overrideFile = $this->getOverrideFile($globResult)) { |
24 | - $configFiles[] = $overrideFile ; |
|
24 | + $configFiles[] = $overrideFile; |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | return $configFiles; |