Merge pull request #22332 from nextcloud/fix/noid/psalm-warnings

Extend psalm baseline to ignore errors for now
This commit is contained in:
Morris Jobke 2020-08-20 14:32:52 +02:00 committed by GitHub
commit ac3569ca1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -1080,6 +1080,11 @@
<code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
<RedundantCondition occurrences="1">
<code>$result</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Crypto/Crypt.php">
<RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
@ -4849,6 +4854,9 @@
</InvalidReturnType>
</file>
<file src="lib/private/Files/Stream/Encryption.php">
<InvalidScalarArgument occurrences="1">
<code>$position</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>$cacheEntry</code>
</UndefinedInterfaceMethod>