summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-20 14:20:54 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-20 14:20:56 +0200
commit69bbbc32a104f6a034b72509e1d51469da39ead2 (patch)
tree973de0dc66a380b874985e11d7249ef21dbc8cb9 /build
parent886466d5109de6ed399e2da3dcf87eea66d531ce (diff)
downloadnextcloud-server-69bbbc32a104f6a034b72509e1d51469da39ead2.tar.gz
nextcloud-server-69bbbc32a104f6a034b72509e1d51469da39ead2.zip
Extend psalm baseline to ignore errors for now
One is a false positive - see https://github.com/vimeo/psalm/pull/4032 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 3ee7c97930b..cf04860f44d 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -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>