diff options
author | Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> | 2020-10-20 04:29:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 04:29:45 +0000 |
commit | 8f813c691dda71ada334087c7a266be56ad5f165 (patch) | |
tree | 8982aeec96b4370d49f865644df2d5a9e0167385 /build | |
parent | f116595b3f98e5cfd1791e44364e03249cd55c5e (diff) | |
download | nextcloud-server-8f813c691dda71ada334087c7a266be56ad5f165.tar.gz nextcloud-server-8f813c691dda71ada334087c7a266be56ad5f165.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 54 |
1 files changed, 4 insertions, 50 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 9913d65d82f..845645b5b24 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -2291,18 +2291,10 @@ <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="13"> + <InvalidScalarArgument occurrences="4"> <code>$e->getCode()</code> - <code>$filter</code> - <code>$filter</code> <code>$key</code> <code>$key</code> - <code>$nameAttribute</code> - <code>$this->connection->ldapGroupDisplayName</code> - <code>$this->connection->ldapLoginFilter</code> - <code>$this->connection->ldapLoginFilter</code> - <code>$this->connection->ldapUserDisplayName</code> - <code>$this->connection->ldapUserDisplayName</code> <code>[$attr => $result['values']]</code> </InvalidScalarArgument> <NullArgument occurrences="1"> @@ -2374,27 +2366,9 @@ <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="26"> - <code>$gAssoc</code> + <InvalidScalarArgument occurrences="2"> <code>$groupID</code> <code>$groupID</code> - <code>$this->access->connection->ldapDynamicGroupMemberURL</code> - <code>$this->access->connection->ldapDynamicGroupMemberURL</code> - <code>$this->access->connection->ldapGidNumber</code> - <code>$this->access->connection->ldapGroupDisplayName</code> - <code>$this->access->connection->ldapGroupFilter</code> - <code>$this->access->connection->ldapGroupFilter</code> - <code>$this->access->connection->ldapGroupFilter</code> - <code>$this->access->connection->ldapGroupMemberAssocAttr</code> - <code>$this->access->connection->ldapGroupMemberAssocAttr</code> - <code>$this->access->connection->ldapLoginFilter</code> - <code>$this->access->connection->ldapLoginFilter</code> - <code>$this->access->connection->ldapLoginFilter</code> - <code>$this->access->connection->ldapUserDisplayName</code> - <code>$this->access->connection->ldapUserDisplayName</code> - <code>$this->access->connection->ldapUserDisplayName</code> - <code>[$this->access->connection->ldapGroupDisplayName, 'dn']</code> - <code>[strtolower($this->access->connection->ldapGroupMemberAssocAttr), $this->access->connection->ldapGroupDisplayName, 'dn']</code> </InvalidScalarArgument> <RedundantCondition occurrences="3"> <code>is_array($groupDNs)</code> @@ -2530,10 +2504,6 @@ <InvalidDocblock occurrences="1"> <code>public function setLdapAccess(Access $access) {</code> </InvalidDocblock> - <InvalidScalarArgument occurrences="2"> - <code>$homeRule</code> - <code>$homeRule</code> - </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/User/User.php"> <FalsableReturnStatement occurrences="1"> @@ -2546,19 +2516,7 @@ <code>null</code> <code>null</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="15"> - <code>$emailAttribute</code> - <code>$quotaAttribute</code> - <code>$this->access->connection->homeFolderNamingRule</code> - <code>$this->access->connection->homeFolderNamingRule</code> - <code>$this->connection->homeFolderNamingRule</code> - <code>$this->connection->homeFolderNamingRule</code> - <code>$this->connection->ldapEmailAttribute</code> - <code>$this->connection->ldapExtStorageHomeAttribute</code> - <code>$this->connection->ldapExtStorageHomeAttribute</code> - <code>$this->connection->ldapQuotaAttribute</code> - <code>$this->connection->ldapUserDisplayName</code> - <code>$this->connection->ldapUserDisplayName2</code> + <InvalidScalarArgument occurrences="3"> <code>$this->getHomePath($ldapEntry[$attr][0])</code> <code>1</code> <code>true</code> @@ -2568,14 +2526,10 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>string|false</code> </ImplementedReturnTypeMismatch> - <InvalidScalarArgument occurrences="8"> - <code>$additionalAttribute</code> + <InvalidScalarArgument occurrences="3"> <code>$limit</code> <code>$offset</code> <code>$path</code> - <code>$this->access->connection->ldapUserDisplayName</code> - <code>$this->access->connection->ldapUserFilter</code> - <code>$this->access->connection->ldapUserFilter</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="2"> <code>$limit</code> |