Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Nextcloud-PR-Bot 2020-10-20 04:29:45 +00:00 committed by GitHub
parent f116595b3f
commit 8f813c691d
1 changed files with 4 additions and 50 deletions

View File

@ -2291,18 +2291,10 @@
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>string[]</code> <code>string[]</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="13"> <InvalidScalarArgument occurrences="4">
<code>$e-&gt;getCode()</code> <code>$e-&gt;getCode()</code>
<code>$filter</code>
<code>$filter</code>
<code>$key</code> <code>$key</code>
<code>$key</code> <code>$key</code>
<code>$nameAttribute</code>
<code>$this-&gt;connection-&gt;ldapGroupDisplayName</code>
<code>$this-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>[$attr =&gt; $result['values']]</code> <code>[$attr =&gt; $result['values']]</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<NullArgument occurrences="1"> <NullArgument occurrences="1">
@ -2374,27 +2366,9 @@
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>bool</code> <code>bool</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="26"> <InvalidScalarArgument occurrences="2">
<code>$gAssoc</code>
<code>$groupID</code> <code>$groupID</code>
<code>$groupID</code> <code>$groupID</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapDynamicGroupMemberURL</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapDynamicGroupMemberURL</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGidNumber</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>[$this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName, 'dn']</code>
<code>[strtolower($this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr), $this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName, 'dn']</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<RedundantCondition occurrences="3"> <RedundantCondition occurrences="3">
<code>is_array($groupDNs)</code> <code>is_array($groupDNs)</code>
@ -2530,10 +2504,6 @@
<InvalidDocblock occurrences="1"> <InvalidDocblock occurrences="1">
<code>public function setLdapAccess(Access $access) {</code> <code>public function setLdapAccess(Access $access) {</code>
</InvalidDocblock> </InvalidDocblock>
<InvalidScalarArgument occurrences="2">
<code>$homeRule</code>
<code>$homeRule</code>
</InvalidScalarArgument>
</file> </file>
<file src="apps/user_ldap/lib/User/User.php"> <file src="apps/user_ldap/lib/User/User.php">
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
@ -2546,19 +2516,7 @@
<code>null</code> <code>null</code>
<code>null</code> <code>null</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="15"> <InvalidScalarArgument occurrences="3">
<code>$emailAttribute</code>
<code>$quotaAttribute</code>
<code>$this-&gt;access-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;access-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;connection-&gt;ldapEmailAttribute</code>
<code>$this-&gt;connection-&gt;ldapExtStorageHomeAttribute</code>
<code>$this-&gt;connection-&gt;ldapExtStorageHomeAttribute</code>
<code>$this-&gt;connection-&gt;ldapQuotaAttribute</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName2</code>
<code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code> <code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code>
<code>1</code> <code>1</code>
<code>true</code> <code>true</code>
@ -2568,14 +2526,10 @@
<ImplementedReturnTypeMismatch occurrences="1"> <ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code> <code>string|false</code>
</ImplementedReturnTypeMismatch> </ImplementedReturnTypeMismatch>
<InvalidScalarArgument occurrences="8"> <InvalidScalarArgument occurrences="3">
<code>$additionalAttribute</code>
<code>$limit</code> <code>$limit</code>
<code>$offset</code> <code>$offset</code>
<code>$path</code> <code>$path</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserFilter</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="2"> <MoreSpecificImplementedParamType occurrences="2">
<code>$limit</code> <code>$limit</code>