From 5a8f15e1677b10880193b9bb1cee00666f49d51c Mon Sep 17 00:00:00 2001 From: Vincent Petry <vincent@nextcloud.com> Date: Tue, 12 Jan 2021 09:26:20 +0100 Subject: [PATCH] Update psalm baseline to remove obsolete stuff As seen in CI static checks, some blocks in the baseline were not needed any more. This will fix static checks in CI. Signed-off-by: Vincent Petry <vincent@nextcloud.com> --- build/psalm-baseline.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 780c3051ac1..fc782b00bb4 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -3038,9 +3038,6 @@ <InvalidArrayOffset occurrences="1"> <code>$action['url-postfix']</code> </InvalidArrayOffset> - <RedundantCondition occurrences="1"> - <code>strtolower</code> - </RedundantCondition> </file> <file src="lib/private/AppFramework/Services/AppConfig.php"> <MoreSpecificImplementedParamType occurrences="1"> @@ -5035,11 +5032,6 @@ <code>$this->appendIfExist($this->serverroot, 'core/'.$script.'.js')</code> </InvalidOperand> </file> - <file src="lib/private/Template/SCSSCacher.php"> - <InvalidScalarArgument occurrences="1"> - <code>Compiler::LINE_COMMENTS</code> - </InvalidScalarArgument> - </file> <file src="lib/private/TemplateLayout.php"> <InvalidParamDefault occurrences="2"> <code>string</code> -- GitLab