From c097b1bbb0332c04cef0a06eb99105ac87534dc7 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 21 Jan 2024 02:25:06 +0000 Subject: [PATCH] Update psalm baseline Signed-off-by: GitHub --- build/psalm-baseline.xml | 93 ++-------------------------------------- 1 file changed, 3 insertions(+), 90 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 273c7ef470946..b48b91a166350 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,9 +1,7 @@ - - $calendarData - + @@ -16,9 +14,7 @@ - - $vcardData - + @@ -105,11 +101,6 @@ $baseuri - - - CalendarDeletionDefaultUpdaterListener::class - - setDateTime @@ -122,11 +113,6 @@ VEVENT->SUMMARY]]> - - - $calendarData - - objectData['calendardata']]]> @@ -439,9 +425,6 @@ - - string - $type, @@ -451,23 +434,12 @@ false|array{body: string, Content-Type: string} - - $type - string|null - - - getChanges - - - null - - principalUri]]> @@ -541,7 +513,6 @@ 0 - 200 bool @@ -1378,9 +1349,6 @@ - - AppPasswordCreatedActivityListener::class - getSettingsManager @@ -1663,9 +1631,6 @@ string - - $uid - @@ -1934,7 +1899,6 @@ \OCP\IServerContainer - mixed getAppDataDir @@ -2016,39 +1980,6 @@ newInstance()]]> - newInstanceArgs(array_map(function (ReflectionParameter $parameter) { - $parameterType = $parameter->getType(); - - $resolveName = $parameter->getName(); - - // try to find out if it is a class or a simple parameter - if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) { - $resolveName = $parameterType->getName(); - } - - try { - $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType) - && $parameter->getType()->isBuiltin(); - return $this->query($resolveName, !$builtIn); - } catch (QueryException $e) { - // Service not found, use the default value when available - if ($parameter->isDefaultValueAvailable()) { - return $parameter->getDefaultValue(); - } - - if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) { - $resolveName = $parameter->getName(); - try { - return $this->query($resolveName); - } catch (QueryException $e2) { - // don't lose the error we got while trying to query by type - throw new QueryException($e->getMessage(), (int) $e->getCode(), $e); - } - } - - throw $e; - } - }, $constructor->getParameters()))]]> ArrayAccess @@ -2201,17 +2132,7 @@ - - [LaravelClosure::class, OpisClosure::class] - - - $serializedCallable - - - - - $serializedCommand - + @@ -2867,9 +2788,6 @@ $users - - $user - \OC\User\User[] @@ -3154,11 +3072,6 @@ $out - - - $out - - \OC_APP