diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-17 14:01:19 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-17 14:04:08 +0300 |
commit | 67e0b194b62fcefdc1f71e85539edd093a439f8a (patch) | |
tree | 348c120b3527ed992cb5bf7c034dc6ae9031fdba /build | |
parent | f80f7a33e8c5e2dcb9678cb1d6b650e797af871a (diff) |
Update and fix baseline
Backported some bits of stable21 to make Psalm happy.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 496ab06f4d8..00a92a932dc 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1130,7 +1130,7 @@ <FalsableReturnStatement occurrences="1"> <code>$result</code> </FalsableReturnStatement> - <ImplementedParamTypeMismatch occurrences="3"> + <ImplementedParamTypeMismatch occurrences="2"> <code>$position</code> <code>$position</code> <code>$position</code> @@ -2418,10 +2418,11 @@ <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="3"> + <InvalidScalarArgument occurrences="4"> + <code>$e->getCode()</code> <code>$key</code> <code>$key</code> - <code>$e->getCode()</code> + <code>[$attr => $result['values']]</code> </InvalidScalarArgument> <NullArgument occurrences="1"> <code>$cookie</code> @@ -6014,6 +6015,11 @@ <code>'DateTimeFormatter'</code> </UndefinedClass> </file> + <file src="lib/private/Files/Stream/Encryption.php"> + <UndefinedInterfaceMethod occurrences="1"> + <code>$cacheEntry</code> + </UndefinedInterfaceMethod> + </file> <file src="lib/public/AppFramework/ApiController.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> |