diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 14:32:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 14:32:52 +0200 |
commit | ac3569ca1e389ed4e75a353b1acddaf30cc44106 (patch) | |
tree | 35a1361aea5b237b06fa74d5b025e289ab1bf3eb | |
parent | 6cdaadbc57bb6d9dc5473ac0a48336c846bda538 (diff) | |
parent | 69bbbc32a104f6a034b72509e1d51469da39ead2 (diff) | |
download | nextcloud-server-ac3569ca1e389ed4e75a353b1acddaf30cc44106.tar.gz nextcloud-server-ac3569ca1e389ed4e75a353b1acddaf30cc44106.zip |
Merge pull request #22332 from nextcloud/fix/noid/psalm-warnings
Extend psalm baseline to ignore errors for now
-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> |