aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorNextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com>2021-03-05 04:33:46 +0000
committerGitHub <noreply@github.com>2021-03-05 04:33:46 +0000
commitdf2fea444c787cc77f80ddd9c3db328361553873 (patch)
tree1c2c89803ed2ff01b45b65eea41fb103542f6bc6 /build
parenta6c9688fd6e600a5b46365fe7632033f9a79c37b (diff)
downloadnextcloud-server-df2fea444c787cc77f80ddd9c3db328361553873.tar.gz
nextcloud-server-df2fea444c787cc77f80ddd9c3db328361553873.zip
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml25
1 files changed, 1 insertions, 24 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 79ecd079512..a25dfe604d0 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -736,22 +736,9 @@
</InvalidScalarArgument>
</file>
<file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php">
- <InvalidReturnStatement occurrences="1">
- <code>$shares</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>array</code>
- </InvalidReturnType>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
</UndefinedFunction>
- <UndefinedInterfaceMethod occurrences="5">
- <code>getId</code>
- <code>getId</code>
- <code>getId</code>
- <code>getPath</code>
- <code>getPath</code>
- </UndefinedInterfaceMethod>
<UndefinedPropertyAssignment occurrences="1">
<code>$server-&gt;xml-&gt;namespacesMap</code>
</UndefinedPropertyAssignment>
@@ -1678,19 +1665,9 @@
<InvalidNullableReturnType occurrences="1">
<code>ICacheEntry</code>
</InvalidNullableReturnType>
- <InvalidReturnStatement occurrences="5">
- <code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_CREATE</code>
- <code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_DELETE</code>
- <code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_SHARE</code>
- <code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_UPDATE</code>
+ <InvalidReturnStatement occurrences="1">
<code>new FailedCache()</code>
</InvalidReturnStatement>
- <InvalidReturnType occurrences="4">
- <code>isCreatable</code>
- <code>isDeletable</code>
- <code>isSharable</code>
- <code>isUpdatable</code>
- </InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;sourceRootInfo</code>
</NullableReturnStatement>