]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update psalm-baseline 32671/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Tue, 31 May 2022 12:53:07 +0000 (14:53 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Tue, 31 May 2022 12:53:07 +0000 (14:53 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
build/psalm-baseline.xml

index fcf28a8b775af7bc182dbe6f0ee3bf38ac147433..1e27a2496c712dfef8e92f61e28b177f973ec5ab 100644 (file)
@@ -98,7 +98,9 @@
     </UndefinedGlobalVariable>
   </file>
   <file src="apps/dav/lib/AppInfo/Application.php">
-    <InvalidArgument occurrences="1"/>
+    <InvalidArgument occurrences="1">
+      <code>CalendarDeletionDefaultUpdaterListener::class</code>
+    </InvalidArgument>
     <UndefinedInterfaceMethod occurrences="1">
       <code>getAppDataDir</code>
     </UndefinedInterfaceMethod>
     <InvalidReturnStatement occurrences="1">
       <code>$this-&gt;backend-&gt;getArbiterPath()</code>
     </InvalidReturnStatement>
-    <InvalidReturnType occurrences="1"/>
+    <InvalidReturnType occurrences="1">
+      <code>bool</code>
+    </InvalidReturnType>
   </file>
   <file src="apps/dav/lib/Files/RootCollection.php">
     <UndefinedFunction occurrences="1">
     </RedundantCondition>
     <TypeDoesNotContainType occurrences="2">
       <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
+      <code>is_object($res)</code>
     </TypeDoesNotContainType>
   </file>
   <file src="apps/encryption/lib/Crypto/EncryptAll.php">
     </TypeDoesNotContainNull>
   </file>
   <file src="apps/settings/lib/AppInfo/Application.php">
-    <InvalidArgument occurrences="1"/>
+    <InvalidArgument occurrences="1">
+      <code>AppPasswordCreatedActivityListener::class</code>
+    </InvalidArgument>
     <UndefinedInterfaceMethod occurrences="1">
       <code>getSettingsManager</code>
     </UndefinedInterfaceMethod>
   </file>
   <file src="lib/private/Streamer.php">
     <InvalidArgument occurrences="1">
-      <code>$fh</code>
+      <code>$stream</code>
     </InvalidArgument>
     <UndefinedInterfaceMethod occurrences="1">
       <code>get</code>
     </FalsableReturnStatement>
   </file>
   <file src="lib/private/User/Manager.php">
-    <ImplementedReturnTypeMismatch occurrences="1"/>
-    <InvalidArgument occurrences="1"/>
+    <ImplementedReturnTypeMismatch occurrences="1">
+      <code>IUser|false</code>
+    </ImplementedReturnTypeMismatch>
+    <InvalidArgument occurrences="1">
+      <code>$backend</code>
+    </InvalidArgument>
     <UndefinedInterfaceMethod occurrences="2">
       <code>createUser</code>
       <code>getUsersForUserValueCaseInsensitive</code>
     </UndefinedDocblockClass>
   </file>
   <file src="lib/private/legacy/OC_Files.php">
-    <InvalidArgument occurrences="1">
-      <code>$fh</code>
-    </InvalidArgument>
     <InvalidScalarArgument occurrences="1">
       <code>mt_rand()</code>
     </InvalidScalarArgument>
       <code>\Test\Util\User\Dummy</code>
     </UndefinedClass>
   </file>
-  <file src="lib/public/Server.php">
-    <InvalidThrow occurrences="2">
-      <code>ContainerExceptionInterface</code>
-    </InvalidThrow>
-  </file>
   <file src="lib/public/AppFramework/ApiController.php">
     <NoInterfaceProperties occurrences="1">
       <code>$this-&gt;request-&gt;server</code>
       <code>ContainerExceptionInterface</code>
     </InvalidThrow>
   </file>
+  <file src="lib/public/Server.php">
+    <InvalidThrow occurrences="2">
+      <code>ContainerExceptionInterface</code>
+      <code>NotFoundExceptionInterface</code>
+    </InvalidThrow>
+  </file>
   <file src="remote.php">
     <InvalidScalarArgument occurrences="1">
       <code>$e-&gt;getCode()</code>