Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-16 11:58:26 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-27 16:50:22 +0300
commit3ec8dce3cc1d47b373ecb0a3eeb4f8a333da9cce (patch)
tree91d30aad79502457153a2d8fcede374c009018e2 /build
parent220d71d99798df9d64873be0d67a35989258754e (diff)
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml51
1 files changed, 3 insertions, 48 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 402458985c0..da22e228cd4 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -4404,8 +4404,7 @@
<InvalidReturnType occurrences="1">
<code>IImage|null</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="2">
- <code>$quota</code>
+ <InvalidScalarArgument occurrences="1">
<code>$this-&gt;lastLogin</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
@@ -4490,19 +4489,16 @@
<InvalidOperand occurrences="1">
<code>$matches[1][$last_match][0]</code>
</InvalidOperand>
- <InvalidReturnStatement occurrences="4">
+ <InvalidReturnStatement occurrences="2">
<code>(INF &gt; 0)? INF: PHP_INT_MAX</code>
<code>INF</code>
- <code>max($upload_max_filesize, $post_max_size)</code>
- <code>min($upload_max_filesize, $post_max_size)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="4">
+ <InvalidScalarArgument occurrences="3">
<code>$includeExtStorage ? 'ext' : false</code>
<code>$path</code>
- <code>$quota</code>
<code>'ext'</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
@@ -4532,22 +4528,6 @@
<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>
- <RedundantCondition occurrences="1">
- <code>is_string($expected)</code>
- </RedundantCondition>
- <TypeDoesNotContainType occurrences="3">
- <code>is_bool($expected)</code>
- <code>is_bool($setting[1])</code>
- <code>is_int($expected)</code>
- </TypeDoesNotContainType>
- </file>
<file src="lib/public/AppFramework/ApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
@@ -4645,29 +4625,4 @@
<code>PreconditionNotMetException</code>
</InvalidClass>
</file>
- <file src="lib/public/Search/SearchResult.php">
- <InvalidArgument occurrences="1">
- <code>$cursor</code>
- </InvalidArgument>
- </file>
- <file src="lib/public/Share.php">
- <InvalidReturnType occurrences="3">
- <code>array</code>
- <code>array|bool</code>
- <code>mixed</code>
- </InvalidReturnType>
- </file>
- <file src="lib/public/Util.php">
- <InvalidReturnStatement occurrences="1">
- <code>\OC_Helper::computerFileSize($str)</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>float</code>
- </InvalidReturnType>
- </file>
- <file src="remote.php">
- <InvalidScalarArgument occurrences="1">
- <code>$e-&gt;getCode()</code>
- </InvalidScalarArgument>
- </file>
</files>