]> source.dussan.org Git - nextcloud-server.git/commitdiff
Extend psalm baseline to ignore errors for now 22332/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 20 Aug 2020 12:20:54 +0000 (14:20 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 20 Aug 2020 12:20:56 +0000 (14:20 +0200)
One is a false positive - see https://github.com/vimeo/psalm/pull/4032

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
build/psalm-baseline.xml

index 3ee7c97930bc3024a24dbbe1c0228da5234c597b..cf04860f44d9ddebc985ee27516d8a53b8dd013b 100644 (file)
       <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>
     </InvalidReturnType>
   </file>
   <file src="lib/private/Files/Stream/Encryption.php">
+    <InvalidScalarArgument occurrences="1">
+      <code>$position</code>
+    </InvalidScalarArgument>
     <UndefinedInterfaceMethod occurrences="1">
       <code>$cacheEntry</code>
     </UndefinedInterfaceMethod>