diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 3e6d2854..5bf113ed 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -40,16 +40,16 @@ lint: - pinact@5.0.0 - svgo@4.1.0 - taplo@0.10.0 - - checkov@3.3.17 + - checkov@3.3.19 - actionlint@1.7.12 - git-diff-check - hadolint@2.15.1 - markdownlint@0.49.1 - oxipng@10.2.1 - - prettier@3.9.6 + - prettier@3.9.8 - shellcheck@0.11.0 - shfmt@3.14.1 - - trufflehog@3.97.4 + - trufflehog@3.97.5 - yamllint@1.38.0 actions: disabled: diff --git a/src/Console/Command/System/CheckCommand.php b/src/Console/Command/System/CheckCommand.php index a80e7ea1..a027ad13 100644 --- a/src/Console/Command/System/CheckCommand.php +++ b/src/Console/Command/System/CheckCommand.php @@ -527,9 +527,10 @@ private function getSearchEngineHosts(): array $hostValue = $this->getEnvironmentVariable($envVar); if (!empty($hostValue)) { $port = - $this->getEnvironmentVariable('ELASTICSEARCH_PORT') ?? $this->getEnvironmentVariable( - 'ES_PORT', - ) ?? $this->getEnvironmentVariable('OPENSEARCH_PORT') ?? '9200'; + $this->getEnvironmentVariable('ELASTICSEARCH_PORT') + ?? $this->getEnvironmentVariable('ES_PORT') + ?? $this->getEnvironmentVariable('OPENSEARCH_PORT') + ?? '9200'; $elasticHosts[] = "http://{$hostValue}:{$port}"; } }