Skip to content

Commit 1f90f84

Browse files
authored
Merge pull request #353 from nextcloud/enh/noid/maintenance
Update composer dependencies, fix cs issues
2 parents 396d664 + 6ab0d1e commit 1f90f84

11 files changed

Lines changed: 375 additions & 314 deletions

File tree

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SPDX-FileCopyrightText = "2022 Nextcloud GmbH and Nextcloud contributors"
1818
SPDX-License-Identifier = "AGPL-3.0-or-later"
1919

2020
[[annotations]]
21-
path = ["vendor-bin/php-cs-fixer/composer.json", "vendor-bin/php-cs-fixer/composer.lock", "vendor-bin/phpunit/composer.json", "vendor-bin/phpunit/composer.lock", "vendor-bin/psalm-phar/composer.json", "vendor-bin/psalm-phar/composer.lock"]
21+
path = ["vendor-bin/php-cs-fixer/composer.json", "vendor-bin/php-cs-fixer/composer.lock", "vendor-bin/phpunit/composer.json", "vendor-bin/phpunit/composer.lock", "vendor-bin/psalm/composer.json", "vendor-bin/psalm/composer.lock"]
2222
precedence = "aggregate"
2323
SPDX-FileCopyrightText = "2024 Nextcloud GmbH and Nextcloud contributors"
2424
SPDX-License-Identifier = "AGPL-3.0-or-later"

composer.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/TaskProcessing/AudioToAudioChatProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ public function getOptionalInputShapeEnumValues(): array {
109109
$voices = json_decode($this->appConfig->getValueString(Application::APP_ID, 'tts_voices', lazy: true)) ?: Application::DEFAULT_SPEECH_VOICES;
110110
$models = $this->openAiAPIService->getModelEnumValues($this->userId);
111111
$enumValues = [
112-
'voice' => array_map(function ($v) { return new ShapeEnumValue($v, $v); }, $voices),
112+
'voice' => array_map(function ($v) {
113+
return new ShapeEnumValue($v, $v);
114+
}, $voices),
113115
'llm_model' => $models,
114116
];
115117
if (!$isUsingOpenAi) {

lib/TaskProcessing/TextToSpeechProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ public function getOptionalInputShape(): array {
8686
public function getOptionalInputShapeEnumValues(): array {
8787
$voices = json_decode($this->appConfig->getValueString(Application::APP_ID, 'tts_voices', lazy: true)) ?: Application::DEFAULT_SPEECH_VOICES;
8888
return [
89-
'voice' => array_map(function ($v) { return new ShapeEnumValue($v, $v); }, $voices),
89+
'voice' => array_map(function ($v) {
90+
return new ShapeEnumValue($v, $v);
91+
}, $voices),
9092
'model' => $this->openAiAPIService->getModelEnumValues($this->userId, Application::SERVICE_TYPE_TTS),
9193
];
9294
}

vendor-bin/php-cs-fixer/composer.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor-bin/php-scoper/composer.lock

Lines changed: 30 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)