diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 14:20:54 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 14:20:56 +0200 |
commit | 69bbbc32a104f6a034b72509e1d51469da39ead2 (patch) | |
tree | 973de0dc66a380b874985e11d7249ef21dbc8cb9 /build | |
parent | 886466d5109de6ed399e2da3dcf87eea66d531ce (diff) | |
download | nextcloud-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.xml | 8 |
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->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 && $userSession->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> |