diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-05-31 14:53:07 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-05-31 14:53:07 +0200 |
commit | 8415a0609114c57b1db94991b448b1240a28e5bc (patch) | |
tree | 941b5ed1fdc54aa1695e23c91aaf7ca59b57cf1c /build/psalm-baseline.xml | |
parent | df89e7fd393706b1099cbc7345dcb1f069142e43 (diff) | |
download | nextcloud-server-8415a0609114c57b1db94991b448b1240a28e5bc.tar.gz nextcloud-server-8415a0609114c57b1db94991b448b1240a28e5bc.zip |
Update psalm-baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build/psalm-baseline.xml')
-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> |