diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-16 10:58:26 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-16 10:58:26 +0200 |
commit | 53169890d6dccfcc48d80930e33824084d68aa1c (patch) | |
tree | 7069b6671b919e5a1200ac2c106224181e03343b /build/psalm-baseline.xml | |
parent | ad405e93767cfaf0ba34011010bb26dc4c05f60a (diff) | |
download | nextcloud-server-53169890d6dccfcc48d80930e33824084d68aa1c.tar.gz nextcloud-server-53169890d6dccfcc48d80930e33824084d68aa1c.zip |
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r-- | build/psalm-baseline.xml | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 7eedc007f54..d88e616032b 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -4463,11 +4463,9 @@ <InvalidOperand occurrences="1"> <code>$matches[1][$last_match][0]</code> </InvalidOperand> - <InvalidReturnStatement occurrences="4"> + <InvalidReturnStatement occurrences="2"> <code>(INF > 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> @@ -4505,22 +4503,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/Server.php"> <InvalidThrow occurrences="2"> <code>ContainerExceptionInterface</code> @@ -4611,26 +4593,6 @@ <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->getCode()</code> |