Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Nextcloud-PR-Bot 2020-08-21 04:21:23 +00:00 committed by GitHub
parent 69482049e6
commit 067945ff10
1 changed files with 1 additions and 12 deletions

View File

@ -1114,10 +1114,6 @@
</InvalidNullableReturnType> </InvalidNullableReturnType>
</file> </file>
<file src="apps/encryption/lib/KeyManager.php"> <file src="apps/encryption/lib/KeyManager.php">
<InvalidArrayOffset occurrences="2">
<code>$keyPair['publicKey']</code>
<code>$keyPair['privateKey']</code>
</InvalidArrayOffset>
<InvalidScalarArgument occurrences="3"> <InvalidScalarArgument occurrences="3">
<code>time()</code> <code>time()</code>
<code>time()</code> <code>time()</code>
@ -1147,9 +1143,6 @@
</TooManyArguments> </TooManyArguments>
</file> </file>
<file src="apps/encryption/lib/Users/Setup.php"> <file src="apps/encryption/lib/Users/Setup.php">
<InvalidArgument occurrences="1">
<code>$this-&gt;crypt-&gt;createKeyPair()</code>
</InvalidArgument>
<RedundantCondition occurrences="1"> <RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code> <code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
</RedundantCondition> </RedundantCondition>
@ -2118,9 +2111,6 @@
</InvalidScalarArgument> </InvalidScalarArgument>
</file> </file>
<file src="apps/oauth2/lib/Controller/OauthApiController.php"> <file src="apps/oauth2/lib/Controller/OauthApiController.php">
<InvalidArgument occurrences="1">
<code>['user' =&gt; $appToken-&gt;getUID()]</code>
</InvalidArgument>
<NoInterfaceProperties occurrences="1"> <NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code> <code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties> </NoInterfaceProperties>
@ -3194,8 +3184,7 @@
<code>getIncompatibleApps</code> <code>getIncompatibleApps</code>
<code>getAppsNeedingUpgrade</code> <code>getAppsNeedingUpgrade</code>
</InternalMethod> </InternalMethod>
<InvalidArgument occurrences="2"> <InvalidArgument occurrences="1">
<code>['user' =&gt; $uid]</code>
<code>$restrictions</code> <code>$restrictions</code>
</InvalidArgument> </InvalidArgument>
<InvalidScalarArgument occurrences="1"> <InvalidScalarArgument occurrences="1">