summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-07-11 11:56:39 +0200
committerGitHub <noreply@github.com>2022-07-11 11:56:39 +0200
commit16b5e6bc7f78f796eb7d8a4e1bd70cdc838dc119 (patch)
tree8163de44309f3bb370236ebb731a1e5b39ad09bc /build
parent22cc36ec60ea0329efafbb7aafca1595194e59c9 (diff)
parentec5cbdeb7ffb87c0169c39e6f44846e819b41f14 (diff)
downloadnextcloud-server-16b5e6bc7f78f796eb7d8a4e1bd70cdc838dc119.tar.gz
nextcloud-server-16b5e6bc7f78f796eb7d8a4e1bd70cdc838dc119.zip
Merge pull request #32973 from nextcloud/cleanup/avatar-code
Cleanup avatar related code
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml36
1 files changed, 0 insertions, 36 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 483250b1237..12e3ca72e7a 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2455,37 +2455,6 @@
<file src="lib/private/Authentication/WebAuthn/CredentialRepository.php">
<InvalidCatch occurrences="2"/>
</file>
- <file src="lib/private/Avatar/Avatar.php">
- <ImplementedReturnTypeMismatch occurrences="1">
- <code>Color</code>
- </ImplementedReturnTypeMismatch>
- <InvalidReturnStatement occurrences="1">
- <code>$finalPalette[$this-&gt;hashToInt($hash, $steps * 3)]</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>Color</code>
- </InvalidReturnType>
- <ParamNameMismatch occurrences="1">
- <code>$hash</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Avatar/AvatarManager.php">
- <ParamNameMismatch occurrences="1">
- <code>$userId</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Avatar/PlaceholderAvatar.php">
- <InvalidScalarArgument occurrences="1">
- <code>$data</code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Avatar/UserAvatar.php">
- <InvalidScalarArgument occurrences="3">
- <code>$data</code>
- <code>$data</code>
- <code>(int) $this-&gt;config-&gt;getUserValue($this-&gt;user-&gt;getUID(), 'avatar', 'version', 0) + 1</code>
- </InvalidScalarArgument>
- </file>
<file src="lib/private/BackgroundJob/JobList.php">
<InvalidScalarArgument occurrences="1">
<code>$job-&gt;getId()</code>
@@ -4230,11 +4199,6 @@
<code>array</code>
</InvalidParamDefault>
</file>
- <file src="lib/public/IAvatar.php">
- <UndefinedDocblockClass occurrences="1">
- <code>Color</code>
- </UndefinedDocblockClass>
- </file>
<file src="lib/public/IContainer.php">
<InvalidThrow occurrences="2">
<code>ContainerExceptionInterface</code>