Skip to content

Commit e6b5901

Browse files
committed
Fix some static test failures
1 parent 440afda commit e6b5901

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Config/Validator/Deploy/AppropriateVersion.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public function __construct(
5050

5151
/**
5252
* @return Validator\ResultInterface
53+
*
54+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5355
*/
5456
public function validate(): Validator\ResultInterface
5557
{
@@ -81,7 +83,7 @@ public function validate(): Validator\ResultInterface
8183
);
8284
}
8385

84-
if (!$this->magentoVersion->isGreaterOrEqual('2.4.7')) {
86+
if (!$this->magentoVersion->isGreaterOrEqual('2.4.7')) {
8587
$variables = [
8688
DeployInterface::VAR_USE_LUA,
8789
DeployInterface::VAR_LUA_KEY,

src/Step/Deploy/PreDeploy/ConfigUpdate/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function execute()
123123
);
124124
unset($config['cache']);
125125
} else {
126-
if(isset($cacheConfig['frontend']['default'])) {
126+
if (isset($cacheConfig['frontend']['default'])) {
127127
$cacheConfig['frontend']['default']['backend_options']['_useLua'] = $luaConfigKey;
128128
$cacheConfig['frontend']['default']['backend_options']['use_lua'] = $luaConfig;
129129
}

0 commit comments

Comments
 (0)