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-01-26 16:26:58 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-01-26 16:26:58 +0300
commite3a12b348206adcfbfb0fbc8435ba91240ac2b0a (patch)
treea95db61139c9399dd51c10bed7faaeee42919c30 /build
parenta145edd00db95135bee6f584e21301267fb5ac16 (diff)
Fix psalm issues in theming app
After this change, we are down to only one psalm warning for this app and related to the Application.php. This also make composer psam:update-baseline not silently ignore new errors. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml49
1 files changed, 0 insertions, 49 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 80198e702ea..32336871816 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1978,60 +1978,11 @@
<code>$event-&gt;getObjectId()</code>
</InvalidScalarArgument>
</file>
- <file src="apps/testing/lib/Controller/LockingController.php">
- <InvalidScalarArgument occurrences="5">
- <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
- <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
- <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
- <code>$type</code>
- <code>$type</code>
- </InvalidScalarArgument>
- </file>
<file src="apps/theming/lib/AppInfo/Application.php">
<InvalidArgument occurrences="1">
<code>registerEventListener</code>
</InvalidArgument>
</file>
- <file src="apps/theming/lib/Controller/IconController.php">
- <InvalidReturnStatement occurrences="1">
- <code>$response</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>FileDisplayResponse|NotFoundResponse</code>
- </InvalidReturnType>
- <RedundantCondition occurrences="3">
- <code>$iconFile !== false</code>
- <code>$iconFile !== false</code>
- <code>$iconFile !== false</code>
- </RedundantCondition>
- </file>
- <file src="apps/theming/lib/ImageManager.php">
- <InvalidReturnType occurrences="1">
- <code>string</code>
- </InvalidReturnType>
- </file>
- <file src="apps/theming/lib/ThemingDefaults.php">
- <InvalidReturnStatement occurrences="1">
- <code>\OCP\Util::sanitizeHTML($this-&gt;config-&gt;getAppValue('theming', 'slogan', parent::getSlogan($lang)))</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>getSlogan</code>
- </InvalidReturnType>
- <InvalidScalarArgument occurrences="1">
- <code>(int)$cacheBusterKey + 1</code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/theming/lib/Util.php">
- <InvalidReturnStatement occurrences="1">
- <code>0</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>int[]</code>
- </InvalidReturnType>
- <RedundantCondition occurrences="1">
- <code>$folder !== null</code>
- </RedundantCondition>
- </file>
<file src="apps/twofactor_backupcodes/lib/AppInfo/Application.php">
<InvalidArgument occurrences="4">
<code>registerEventListener</code>