]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update psalm baseline 34884/head
authornextcloud-command <nextcloud-command@users.noreply.github.com>
Sat, 29 Oct 2022 07:16:04 +0000 (07:16 +0000)
committerGitHub <noreply@github.com>
Sat, 29 Oct 2022 07:16:04 +0000 (07:16 +0000)
Signed-off-by: GitHub <noreply@github.com>
build/psalm-baseline.xml

index b1a38b6730aef41ad1db636e72a84dd22dfa02c9..7ce93ebff71e1fb24781b494d654b907af5fe63b 100644 (file)
     </InvalidOperand>
   </file>
   <file src="apps/encryption/lib/Crypto/Crypt.php">
-    <InvalidArgument occurrences="2">
-      <code>$res</code>
-      <code>$res</code>
-    </InvalidArgument>
-    <InvalidReturnStatement occurrences="1">
-      <code>openssl_pkey_new($config)</code>
-    </InvalidReturnStatement>
-    <InvalidReturnType occurrences="1">
-      <code>resource</code>
-    </InvalidReturnType>
     <RedundantCondition occurrences="2">
       <code>$userSession</code>
       <code>$userSession</code>
     </RedundantCondition>
     <TypeDoesNotContainType occurrences="2">
       <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
-      <code>is_resource($res)</code>
     </TypeDoesNotContainType>
   </file>
   <file src="apps/encryption/lib/Crypto/EncryptAll.php">
       <code>addServiceListener</code>
     </InvalidArgument>
   </file>
-  <file src="apps/files_external/lib/Lib/Storage/FtpConnection.php">
-    <UndefinedConstant occurrences="2">
-      <code>FTP_BINARY</code>
-      <code>FTP_BINARY</code>
-    </UndefinedConstant>
-  </file>
   <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
     <InternalMethod occurrences="1">
       <code>put</code>
     <InvalidScalarArgument occurrences="1">
       <code>$levelNum</code>
     </InvalidScalarArgument>
-    <TypeDoesNotContainType occurrences="1">
-      <code>$identifier === false</code>
-    </TypeDoesNotContainType>
   </file>
   <file src="core/Command/Maintenance/DataFingerprint.php">
     <InvalidScalarArgument occurrences="1">
       <code>\Test\Util\User\Dummy</code>
     </UndefinedClass>
   </file>
-  <file src="lib/private/legacy/OC_Util.php">
-    <InvalidOperand occurrences="2">
-      <code>$version</code>
-      <code>$version</code>
-    </InvalidOperand>
-  </file>
   <file src="lib/public/AppFramework/ApiController.php">
     <NoInterfaceProperties occurrences="1">
       <code>$this-&gt;request-&gt;server</code>