]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update psalm baseline 37251/head
authornextcloud-command <nextcloud-command@users.noreply.github.com>
Thu, 16 Mar 2023 04:55:12 +0000 (04:55 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2023 04:55:12 +0000 (04:55 +0000)
Signed-off-by: GitHub <noreply@github.com>
build/psalm-baseline.xml

index c376a1b895f2c1f19fe4491cdea4301153c1bcf5..8c96df35e7fb0627b07147e881b47a8e93fd768d 100644 (file)
       <code>(int) $comment-&gt;getId()</code>
     </InvalidScalarArgument>
   </file>
-  <file src="apps/contactsinteraction/lib/AddressBook.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;principalUri)</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/appinfo/v1/caldav.php">
     <UndefinedGlobalVariable occurrences="1">
       <code>$baseuri</code>
       <code>getAppDataDir</code>
     </UndefinedInterfaceMethod>
   </file>
-  <file src="apps/dav/lib/Avatars/AvatarHome.php">
-    <UndefinedFunction occurrences="1">
-      <code>Uri\split($this-&gt;principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/CalDAV/BirthdayService.php">
     <UndefinedMethod occurrences="2">
       <code>setDateTime</code>
       <code>null</code>
       <code>null</code>
     </NullableReturnStatement>
-    <UndefinedFunction occurrences="4">
-      <code>Uri\split($principalUri)</code>
-      <code>Uri\split($row['principaluri'])</code>
-      <code>Uri\split($row['principaluri'])</code>
-      <code>Uri\split($row['principaluri'])</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CalDAV/CalendarHome.php">
     <InvalidNullableReturnType occurrences="1">
       <code>calendarSearch</code>
     </UndefinedInterfaceMethod>
   </file>
-  <file src="apps/dav/lib/CalDAV/CalendarImpl.php">
-    <UndefinedFunction occurrences="1">
-      <code>uriSplit($this-&gt;calendar-&gt;getPrincipalURI())</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
     <ParamNameMismatch occurrences="1">
       <code>$principal</code>
     <ImplementedReturnTypeMismatch occurrences="1">
       <code>string|null</code>
     </ImplementedReturnTypeMismatch>
-    <UndefinedFunction occurrences="3">
-      <code>\Sabre\Uri\split($principalUrl)</code>
-      <code>\Sabre\Uri\split($principalUrl)</code>
-      <code>\Sabre\Uri\split($principalUrl)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
     <ParamNameMismatch occurrences="1">
       <code>null</code>
       <code>null</code>
     </NullableReturnStatement>
-    <UndefinedFunction occurrences="2">
-      <code>\Sabre\Uri\split($path)</code>
-      <code>\Sabre\Uri\split($path)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
     <InvalidArgument occurrences="2">
       <code>[$aclPlugin, 'propFind']</code>
       <code>[$aclPlugin, 'propFind']</code>
     </InvalidArgument>
-    <UndefinedFunction occurrences="1">
-      <code>split($principalUrl)</code>
-    </UndefinedFunction>
     <UndefinedInterfaceMethod occurrences="2">
       <code>get</code>
       <code>getChildren</code>
     <TypeDoesNotContainType occurrences="1">
       <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
     </TypeDoesNotContainType>
-    <UndefinedFunction occurrences="2">
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($row['principaluri'])</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
     <InvalidNullableReturnType occurrences="1">
     <NullableReturnStatement occurrences="1">
       <code>$type</code>
     </NullableReturnStatement>
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\URI\parse($val)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CardDAV/Plugin.php">
     <ImplementedReturnTypeMismatch occurrences="1">
       <code>string|null</code>
     </ImplementedReturnTypeMismatch>
-    <UndefinedFunction occurrences="3">
-      <code>\Sabre\Uri\split($principal)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
     <InvalidArgument occurrences="2">
       <code>dispatch</code>
     </TooManyArguments>
   </file>
-  <file src="apps/dav/lib/Connector/LegacyDAVACL.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($principal)</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
     <InvalidNullableReturnType occurrences="1">
       <code>bool</code>
     <ParamNameMismatch occurrences="1">
       <code>$fullSourcePath</code>
     </ParamNameMismatch>
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($sourceNode-&gt;getPath())</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Connector/Sabre/File.php">
     <MoreSpecificImplementedParamType occurrences="1">
       <code>$data</code>
     </MoreSpecificImplementedParamType>
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;path)</code>
-    </UndefinedFunction>
-  </file>
-  <file src="apps/dav/lib/Connector/Sabre/FilesPlugin.php">
-    <UndefinedFunction occurrences="3">
-      <code>\Sabre\Uri\split($destination)</code>
-      <code>\Sabre\Uri\split($filePath)</code>
-      <code>\Sabre\Uri\split($source)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
     <InvalidNullableReturnType occurrences="1">
       <code>$this-&gt;info-&gt;getId()</code>
       <code>$this-&gt;info-&gt;getId()</code>
     </NullableReturnStatement>
-    <UndefinedFunction occurrences="2">
-      <code>\Sabre\Uri\split($name)</code>
-      <code>\Sabre\Uri\split($this-&gt;path)</code>
-    </UndefinedFunction>
-  </file>
-  <file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
-    <UndefinedFunction occurrences="3">
-      <code>\Sabre\Uri\split($destinationPath)</code>
-      <code>\Sabre\Uri\split($destinationPath)</code>
-      <code>\Sabre\Uri\split($path)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Connector/Sabre/Principal.php">
     <InvalidNullableReturnType occurrences="1">
       <code>\OCA\Circles\Api\v1\Circles</code>
       <code>\OCA\Circles\Api\v1\Circles</code>
     </UndefinedClass>
-    <UndefinedFunction occurrences="4">
-      <code>\Sabre\Uri\split($path)</code>
-      <code>\Sabre\Uri\split($prefix)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($path)</code>
-    </UndefinedFunction>
     <UndefinedInterfaceMethod occurrences="2">
       <code>getPath</code>
       <code>getPath</code>
       <code>$share-&gt;getShareType()</code>
     </InvalidScalarArgument>
   </file>
-  <file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
     <NullableReturnStatement occurrences="1">
       <code>null</code>
     <NullableReturnStatement occurrences="1">
       <code>null</code>
     </NullableReturnStatement>
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($principal)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Direct/Server.php">
     <UndefinedThisPropertyAssignment occurrences="1">
       <code>$operator-&gt;arguments[0]-&gt;name</code>
     </UndefinedPropertyFetch>
   </file>
-  <file src="apps/dav/lib/Files/FilesHome.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/Files/LazySearchBackend.php">
     <InvalidReturnStatement occurrences="1">
       <code>$this-&gt;backend-&gt;getArbiterPath()</code>
       <code>bool</code>
     </InvalidReturnType>
   </file>
-  <file src="apps/dav/lib/Files/RootCollection.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/HookManager.php">
     <InvalidPropertyAssignmentValue occurrences="2">
       <code>$this-&gt;usersToDelete</code>
       <code>$this-&gt;usersToDelete</code>
     </InvalidPropertyAssignmentValue>
   </file>
-  <file src="apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($principalUri)</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
     <ParamNameMismatch occurrences="1">
       <code>$arguments</code>
     <MoreSpecificImplementedParamType occurrences="1">
       <code>$members</code>
     </MoreSpecificImplementedParamType>
-    <UndefinedFunction occurrences="9">
-      <code>\Sabre\Uri\split($member)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-      <code>\Sabre\Uri\split($principal)</code>
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($principalUri)</code>
-      <code>\Sabre\Uri\split($realPrincipalUri)</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/dav/lib/Upload/AssemblyStream.php">
     <FalsableReturnStatement occurrences="1">
       <code>array_values</code>
     </RedundantFunctionCall>
   </file>
-  <file src="apps/dav/lib/Upload/UploadHome.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
     <InvalidOperand occurrences="1">
       <code>$this-&gt;scanFolder($output, '/' . $user)</code>
       <code>INode</code>
     </MismatchingDocblockReturnType>
   </file>
-  <file src="apps/files_trashbin/lib/Sabre/TrashHome.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
     <InvalidReturnStatement occurrences="1">
       <code>$entry</code>
       <code>null</code>
     </NullableReturnStatement>
   </file>
-  <file src="apps/files_versions/lib/Sabre/RootCollection.php">
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($principalInfo['uri'])</code>
-    </UndefinedFunction>
-  </file>
   <file src="apps/files_versions/lib/Sabre/VersionHome.php">
     <InvalidNullableReturnType occurrences="1">
       <code>getChild</code>
     </InvalidNullableReturnType>
-    <UndefinedFunction occurrences="1">
-      <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
-    </UndefinedFunction>
   </file>
   <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
     <InvalidScalarArgument occurrences="1">
     <RedundantCondition occurrences="1">
       <code>\is_array($params)</code>
     </RedundantCondition>
-    <UndefinedFunction occurrences="2">
+    <UndefinedFunction occurrences="1">
       <code>\Sabre\HTTP\decodePath($pathInfo)</code>
-      <code>\Sabre\Uri\split($scriptName)</code>
     </UndefinedFunction>
   </file>
   <file src="lib/private/AppFramework/Logger.php">
     </InvalidReturnType>
   </file>
   <file src="lib/private/Files/View.php">
-    <InvalidNullableReturnType occurrences="1">
-      <code>string</code>
-    </InvalidNullableReturnType>
     <InvalidScalarArgument occurrences="2">
       <code>$fileId</code>
       <code>$mtime</code>
     </InvalidScalarArgument>
-    <NullableReturnStatement occurrences="4">
+    <NullableReturnStatement occurrences="3">
       <code>null</code>
       <code>null</code>
       <code>null</code>