Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Nextcloud-PR-Bot 2021-03-05 04:33:46 +00:00 committed by GitHub
parent a6c9688fd6
commit df2fea444c
1 changed files with 1 additions and 24 deletions

View File

@ -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>