From d8f9ae697f105b824f973395fa178b8d5e0fbc79 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Mon, 16 Sep 2024 14:23:37 +0000 Subject: [PATCH 1/2] chore(dev-deps): Bump nextcloud/ocp package Signed-off-by: GitHub --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 772399d491e..d1924456eac 100644 --- a/composer.lock +++ b/composer.lock @@ -258,12 +258,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "56dae49d60120c34b5651d37da7668c971424665" + "reference": "641d9c0ba2e35688193d8f367af28735c9763d96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/56dae49d60120c34b5651d37da7668c971424665", - "reference": "56dae49d60120c34b5651d37da7668c971424665", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/641d9c0ba2e35688193d8f367af28735c9763d96", + "reference": "641d9c0ba2e35688193d8f367af28735c9763d96", "shasum": "" }, "require": { @@ -295,7 +295,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2024-09-14T00:40:10+00:00" + "time": "2024-09-16T13:34:29+00:00" }, { "name": "psr/clock", From da945cc218622ba910f82aef8e8f4163abb32373 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 16 Sep 2024 16:26:10 +0200 Subject: [PATCH 2/2] fix(setupcheck): Migrate to public API Signed-off-by: Joas Schilling --- lib/SetupCheck/BackgroundBlurLoading.php | 4 ++-- tests/psalm-baseline.xml | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/SetupCheck/BackgroundBlurLoading.php b/lib/SetupCheck/BackgroundBlurLoading.php index eec9c6de4b2..725618f9284 100644 --- a/lib/SetupCheck/BackgroundBlurLoading.php +++ b/lib/SetupCheck/BackgroundBlurLoading.php @@ -8,11 +8,11 @@ */ namespace OCA\Talk\SetupCheck; -use OCA\Settings\SetupChecks\CheckServerResponseTrait; use OCP\Http\Client\IClientService; use OCP\IConfig; use OCP\IL10N; use OCP\IURLGenerator; +use OCP\SetupCheck\CheckServerResponseTrait; use OCP\SetupCheck\ISetupCheck; use OCP\SetupCheck\SetupResult; use Psr\Log\LoggerInterface; @@ -43,7 +43,7 @@ public function getName(): string { public function run(): SetupResult { $url = $this->urlGenerator->linkTo('spreed', 'js/tflite.wasm'); $noResponse = true; - $responses = $this->runHEAD($url); + $responses = $this->runRequest('HEAD', $url); foreach ($responses as $response) { $noResponse = false; if ($response->getStatusCode() === 200) { diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index a7c1418ba42..b3031a6c16a 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -1,5 +1,5 @@ - + @@ -81,11 +81,6 @@ - - - - - getView()]]>