From c2a689303335ba47d8b274424e23420fb2cb1f08 Mon Sep 17 00:00:00 2001 From: Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> Date: Tue, 6 Oct 2020 04:27:00 +0000 Subject: [PATCH] Update psalm baseline Signed-off-by: GitHub <noreply@github.com> --- build/psalm-baseline.xml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index e962e6b0e76..7201c6d0751 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -2310,9 +2310,7 @@ <InvalidReturnType occurrences="1"> <code>getSlogan</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="1"> - <code>(int)$cacheBusterKey+1</code> - </InvalidScalarArgument> + <InvalidScalarArgument occurrences="1"/> <NullArgument occurrences="2"> <code>null</code> <code>null</code> @@ -2388,9 +2386,7 @@ </InvalidScalarArgument> </file> <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php"> - <InvalidScalarArgument occurrences="1"> - <code>$ln+1</code> - </InvalidScalarArgument> + <InvalidScalarArgument occurrences="1"/> </file> <file src="apps/user_ldap/appinfo/routes.php"> <InvalidScope occurrences="1"> @@ -5089,9 +5085,7 @@ </RedundantCondition> </file> <file src="lib/private/Log/File.php"> - <RedundantCondition occurrences="1"> - <code>$limit === null ||$entriesCount < $limit</code> - </RedundantCondition> + <RedundantCondition occurrences="1"/> </file> <file src="lib/private/Log/LogDetails.php"> <RedundantCondition occurrences="1"> -- GitLab