summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authornextcloud-command <nextcloud-command@users.noreply.github.com>2023-03-14 04:13:40 +0000
committerGitHub <noreply@github.com>2023-03-14 04:13:40 +0000
commit4210bc234e6a46356a49a85489dd1f94641e971b (patch)
tree97ccd218a45373fdd5641a1535be83305649dea6 /build
parent1bf68d803734f51d3a9ed3ceb9130dccfa720905 (diff)
downloadnextcloud-server-4210bc234e6a46356a49a85489dd1f94641e971b.tar.gz
nextcloud-server-4210bc234e6a46356a49a85489dd1f94641e971b.zip
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml138
1 files changed, 1 insertions, 137 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index f45c5cf89eb..8c96df35e7f 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -46,11 +46,6 @@
<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>
@@ -99,11 +94,6 @@
<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>
@@ -142,12 +132,6 @@
<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">
@@ -163,11 +147,6 @@
<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>
@@ -177,11 +156,6 @@
<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">
@@ -236,19 +210,12 @@
<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>
@@ -302,10 +269,6 @@
<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">
@@ -319,19 +282,11 @@
<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">
@@ -377,11 +332,6 @@
<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>
@@ -410,24 +360,11 @@
<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">
@@ -460,17 +397,6 @@
<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">
@@ -495,17 +421,8 @@
<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>
@@ -526,11 +443,6 @@
<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>
@@ -580,9 +492,6 @@
<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">
@@ -608,11 +517,6 @@
<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>
@@ -621,22 +525,12 @@
<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>
@@ -726,17 +620,6 @@
<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">
@@ -755,11 +638,6 @@
<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>
@@ -1137,11 +1015,6 @@
<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>
@@ -1197,18 +1070,10 @@
<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">
@@ -1831,9 +1696,8 @@
<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">