]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update baseline for some unrelated errors 35334/head
authorVincent Petry <vincent@nextcloud.com>
Thu, 24 Nov 2022 19:55:50 +0000 (20:55 +0100)
committerVincent Petry <vincent@nextcloud.com>
Thu, 24 Nov 2022 20:09:28 +0000 (21:09 +0100)
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
build/psalm-baseline.xml

index da22e228cd4ecf7cb7120f43573bf0ea34877db0..c7e2974b16b6ccc551567447a0d9345ed5f9d666 100644 (file)
     <InvalidReturnType occurrences="1">
       <code>IImage|null</code>
     </InvalidReturnType>
-    <InvalidScalarArgument occurrences="1">
+    <InvalidScalarArgument occurrences="2">
+      <code>$quota</code>
       <code>$this-&gt;lastLogin</code>
     </InvalidScalarArgument>
     <NullableReturnStatement occurrences="1">
       <code>\Test\Util\User\Dummy</code>
     </UndefinedClass>
   </file>
+  <file src="lib/private/legacy/OC_Util.php">
+    <InvalidReturnStatement occurrences="1">
+      <code>OC_Helper::computerFileSize($userQuota)</code>
+    </InvalidReturnStatement>
+    <InvalidReturnType occurrences="1">
+      <code>float</code>
+    </InvalidReturnType>
+  </file>
   <file src="lib/public/AppFramework/ApiController.php">
     <NoInterfaceProperties occurrences="1">
       <code>$this-&gt;request-&gt;server</code>
       <code>PreconditionNotMetException</code>
     </InvalidClass>
   </file>
+  <file src="lib/public/Util.php">
+    <InvalidReturnStatement occurrences="1">
+      <code>\OC_Helper::computerFileSize($str)</code>
+    </InvalidReturnStatement>
+    <InvalidReturnType occurrences="1">
+      <code>float|false</code>
+    </InvalidReturnType>
+  </file>
 </files>