aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Borysenko <andrey18106x@gmail.com>2024-10-14 17:19:07 +0300
committerAndrey Borysenko <andrey18106x@gmail.com>2024-10-30 20:36:56 +0200
commitfb4150ec86aac1f6184ef633899798f2fcfb11df (patch)
tree0b463ef005ca8319efccc26f061afef7624aef11
parenta29e17001258a4f7ed9b47bea2c083b1fb150f52 (diff)
downloadnextcloud-server-fb4150ec86aac1f6184ef633899798f2fcfb11df.tar.gz
nextcloud-server-fb4150ec86aac1f6184ef633899798f2fcfb11df.zip
fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundled
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
-rw-r--r--apps/settings/lib/Controller/AppSettingsController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php
index 6cb72e8ca9c..8ac76212803 100644
--- a/apps/settings/lib/Controller/AppSettingsController.php
+++ b/apps/settings/lib/Controller/AppSettingsController.php
@@ -102,6 +102,9 @@ class AppSettingsController extends Controller {
return $templateResponse;
}
+ /**
+ * @psalm-suppress UndefinedClass
+ */
private function provideAppApiState(): void {
$appApiEnabled = $this->appManager->isInstalled('app_api');
$this->initialState->provideInitialState('appApiEnabled', $appApiEnabled);