diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-11 12:56:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 12:56:39 +0300 |
commit | 16b5e6bc7f78f796eb7d8a4e1bd70cdc838dc119 (patch) | |
tree | 8163de44309f3bb370236ebb731a1e5b39ad09bc /build | |
parent | 22cc36ec60ea0329efafbb7aafca1595194e59c9 (diff) | |
parent | ec5cbdeb7ffb87c0169c39e6f44846e819b41f14 (diff) |
Merge pull request #32973 from nextcloud/cleanup/avatar-code
Cleanup avatar related code
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 36 |
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->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->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1</code> - </InvalidScalarArgument> - </file> <file src="lib/private/BackgroundJob/JobList.php"> <InvalidScalarArgument occurrences="1"> <code>$job->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> |