diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-01-03 13:17:45 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-01-03 13:27:35 +0300 |
commit | dea3a59cc11ba19b7a98d98149d59eff4f044eb2 (patch) | |
tree | 3883ed5b90131be131e119aea450b70df2a78385 /tests | |
parent | 1f9cef437a71fadb9ccbb2c3447a9b9dbd78e62d (diff) |
fix some psalm false positives
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/psalm-baseline.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 2873fc4a8..6f49585fd 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -6,6 +6,9 @@ <code>LoadAdditionalScriptsEvent</code> <code>LoadViewer</code> </UndefinedClass> + <InvalidArgument occurrences="3"> + <code>registerEventListener</code> + </InvalidArgument> </file> <file src="lib/Command/ResetDocument.php"> <ImplementedReturnTypeMismatch occurrences="1"> @@ -38,7 +41,7 @@ <code>DataResponse</code> <code>DataResponse</code> </InvalidReturnType> - <MissingDependency occurrences="9"> + <MissingDependency occurrences="10"> <code>$e</code> <code>$e</code> <code>$this->rootFolder</code> @@ -174,6 +177,20 @@ <code>null</code> </NullableReturnStatement> </file> + <file src="lib/Service/ImageService.php"> + <InvalidCatch occurrences="2"/> + <MissingDependency occurrences="8"> + <code>$this->rootFolder</code> + <code>IRootFolder</code> + <code>ShareNotFound</code> + </MissingDependency> + <UndefinedClass occurrences="3"> + <code>\OC\User\NoUserException</code> + </UndefinedClass> + <UndefinedDocblockClass occurrences="10"> + <code>\OC\User\NoUserException</code> + </UndefinedDocblockClass> + </file> <file src="vendor/christophwurst/nextcloud/OCP/BackgroundJob/TimedJob.php"> <ImplementedParamTypeMismatch occurrences="1"> <code>$jobList</code> |