diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-05-31 17:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 17:56:58 +0200 |
commit | 22fa1936840729cba19f68e7f09afd47b4d809ce (patch) | |
tree | 941b5ed1fdc54aa1695e23c91aaf7ca59b57cf1c | |
parent | df89e7fd393706b1099cbc7345dcb1f069142e43 (diff) | |
parent | 8415a0609114c57b1db94991b448b1240a28e5bc (diff) | |
download | nextcloud-server-22fa1936840729cba19f68e7f09afd47b4d809ce.tar.gz nextcloud-server-22fa1936840729cba19f68e7f09afd47b4d809ce.zip |
Merge pull request #32671 from nextcloud/debt/noid/psalm-baseline
Update psalm-baseline
-rw-r--r-- | build/psalm-baseline.xml | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index fcf28a8b775..1e27a2496c7 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -98,7 +98,9 @@ </UndefinedGlobalVariable> </file> <file src="apps/dav/lib/AppInfo/Application.php"> - <InvalidArgument occurrences="1"/> + <InvalidArgument occurrences="1"> + <code>CalendarDeletionDefaultUpdaterListener::class</code> + </InvalidArgument> <UndefinedInterfaceMethod occurrences="1"> <code>getAppDataDir</code> </UndefinedInterfaceMethod> @@ -722,7 +724,9 @@ <InvalidReturnStatement occurrences="1"> <code>$this->backend->getArbiterPath()</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="1"/> + <InvalidReturnType occurrences="1"> + <code>bool</code> + </InvalidReturnType> </file> <file src="apps/dav/lib/Files/RootCollection.php"> <UndefinedFunction occurrences="1"> @@ -885,6 +889,7 @@ </RedundantCondition> <TypeDoesNotContainType occurrences="2"> <code>get_class($res) === 'OpenSSLAsymmetricKey'</code> + <code>is_object($res)</code> </TypeDoesNotContainType> </file> <file src="apps/encryption/lib/Crypto/EncryptAll.php"> @@ -1632,7 +1637,9 @@ </TypeDoesNotContainNull> </file> <file src="apps/settings/lib/AppInfo/Application.php"> - <InvalidArgument occurrences="1"/> + <InvalidArgument occurrences="1"> + <code>AppPasswordCreatedActivityListener::class</code> + </InvalidArgument> <UndefinedInterfaceMethod occurrences="1"> <code>getSettingsManager</code> </UndefinedInterfaceMethod> @@ -3991,7 +3998,7 @@ </file> <file src="lib/private/Streamer.php"> <InvalidArgument occurrences="1"> - <code>$fh</code> + <code>$stream</code> </InvalidArgument> <UndefinedInterfaceMethod occurrences="1"> <code>get</code> @@ -4141,8 +4148,12 @@ </FalsableReturnStatement> </file> <file src="lib/private/User/Manager.php"> - <ImplementedReturnTypeMismatch occurrences="1"/> - <InvalidArgument occurrences="1"/> + <ImplementedReturnTypeMismatch occurrences="1"> + <code>IUser|false</code> + </ImplementedReturnTypeMismatch> + <InvalidArgument occurrences="1"> + <code>$backend</code> + </InvalidArgument> <UndefinedInterfaceMethod occurrences="2"> <code>createUser</code> <code>getUsersForUserValueCaseInsensitive</code> @@ -4224,9 +4235,6 @@ </UndefinedDocblockClass> </file> <file src="lib/private/legacy/OC_Files.php"> - <InvalidArgument occurrences="1"> - <code>$fh</code> - </InvalidArgument> <InvalidScalarArgument occurrences="1"> <code>mt_rand()</code> </InvalidScalarArgument> @@ -4283,11 +4291,6 @@ <code>\Test\Util\User\Dummy</code> </UndefinedClass> </file> - <file src="lib/public/Server.php"> - <InvalidThrow occurrences="2"> - <code>ContainerExceptionInterface</code> - </InvalidThrow> - </file> <file src="lib/public/AppFramework/ApiController.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> @@ -4358,6 +4361,12 @@ <code>ContainerExceptionInterface</code> </InvalidThrow> </file> + <file src="lib/public/Server.php"> + <InvalidThrow occurrences="2"> + <code>ContainerExceptionInterface</code> + <code>NotFoundExceptionInterface</code> + </InvalidThrow> + </file> <file src="remote.php"> <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> |