Skip to content

Commit 8556fcb

Browse files
github-actions[bot]Morgy93Copilot
authored
chore: upgrade trunk linters (#258)
* chore: upgrade trunk linters * style: format CheckCommand for mago Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com> --------- Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 75f837c commit 8556fcb

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.trunk/trunk.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ lint:
4040
- pinact@5.0.0
4141
- svgo@4.1.0
4242
- taplo@0.10.0
43-
- checkov@3.3.17
43+
- checkov@3.3.19
4444
- actionlint@1.7.12
4545
- git-diff-check
4646
- hadolint@2.15.1
4747
- markdownlint@0.49.1
4848
- oxipng@10.2.1
49-
- prettier@3.9.6
49+
- prettier@3.9.8
5050
- shellcheck@0.11.0
5151
- shfmt@3.14.1
52-
- trufflehog@3.97.4
52+
- trufflehog@3.97.5
5353
- yamllint@1.38.0
5454
actions:
5555
disabled:

src/Console/Command/System/CheckCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,10 @@ private function getSearchEngineHosts(): array
527527
$hostValue = $this->getEnvironmentVariable($envVar);
528528
if (!empty($hostValue)) {
529529
$port =
530-
$this->getEnvironmentVariable('ELASTICSEARCH_PORT') ?? $this->getEnvironmentVariable(
531-
'ES_PORT',
532-
) ?? $this->getEnvironmentVariable('OPENSEARCH_PORT') ?? '9200';
530+
$this->getEnvironmentVariable('ELASTICSEARCH_PORT')
531+
?? $this->getEnvironmentVariable('ES_PORT')
532+
?? $this->getEnvironmentVariable('OPENSEARCH_PORT')
533+
?? '9200';
533534
$elasticHosts[] = "http://{$hostValue}:{$port}";
534535
}
535536
}

0 commit comments

Comments
 (0)