diff options
author | Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> | 2020-08-21 04:21:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 04:21:23 +0000 |
commit | 067945ff104b7cc87c0f5bf2aa98d43ab9d781bd (patch) | |
tree | d0c5821aefce6eb374354568c834fd84c9cc4cfb /build | |
parent | 69482049e6ddb13d595ac79ae8678091fc8a7b76 (diff) | |
download | nextcloud-server-067945ff104b7cc87c0f5bf2aa98d43ab9d781bd.tar.gz nextcloud-server-067945ff104b7cc87c0f5bf2aa98d43ab9d781bd.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 94fcc8df0a1..e002da163ff 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1114,10 +1114,6 @@ </InvalidNullableReturnType> </file> <file src="apps/encryption/lib/KeyManager.php"> - <InvalidArrayOffset occurrences="2"> - <code>$keyPair['publicKey']</code> - <code>$keyPair['privateKey']</code> - </InvalidArrayOffset> <InvalidScalarArgument occurrences="3"> <code>time()</code> <code>time()</code> @@ -1147,9 +1143,6 @@ </TooManyArguments> </file> <file src="apps/encryption/lib/Users/Setup.php"> - <InvalidArgument occurrences="1"> - <code>$this->crypt->createKeyPair()</code> - </InvalidArgument> <RedundantCondition occurrences="1"> <code>$userSession && $userSession->isLoggedIn()</code> </RedundantCondition> @@ -2118,9 +2111,6 @@ </InvalidScalarArgument> </file> <file src="apps/oauth2/lib/Controller/OauthApiController.php"> - <InvalidArgument occurrences="1"> - <code>['user' => $appToken->getUID()]</code> - </InvalidArgument> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> @@ -3194,8 +3184,7 @@ <code>getIncompatibleApps</code> <code>getAppsNeedingUpgrade</code> </InternalMethod> - <InvalidArgument occurrences="2"> - <code>['user' => $uid]</code> + <InvalidArgument occurrences="1"> <code>$restrictions</code> </InvalidArgument> <InvalidScalarArgument occurrences="1"> |