summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-03-18 12:40:38 +0100
committerGitHub <noreply@github.com>2022-03-18 12:40:38 +0100
commitf9c4c10848eee17fc5f339758888166de5ba5959 (patch)
tree45d896123b28c320d9508b6c3757a726d61ff9ab
parent34988cff1915d2cbe4be0824ba4e2c8c2658c755 (diff)
parentcb4ccf98afe5aad854e2f4b10890c4242751d04b (diff)
downloadnextcloud-server-f9c4c10848eee17fc5f339758888166de5ba5959.tar.gz
nextcloud-server-f9c4c10848eee17fc5f339758888166de5ba5959.zip
Merge pull request #31613 from nextcloud/automated/noid/psalm-baseline-update-1647576744
[Automated] Update psalm-baseline.xml
-rw-r--r--build/psalm-baseline.xml50
1 files changed, 2 insertions, 48 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 888e56b680a..751b74e3263 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1394,18 +1394,9 @@
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/Storage/SMB.php">
- <InvalidArgument occurrences="1">
- <code>$files</code>
- </InvalidArgument>
- <InvalidNullableReturnType occurrences="1">
- <code>\Icewind\SMB\IFileInfo</code>
- </InvalidNullableReturnType>
<InvalidPropertyAssignmentValue occurrences="1">
<code>new CappedMemoryCache()</code>
</InvalidPropertyAssignmentValue>
- <InvalidReturnType occurrences="1">
- <code>\Icewind\SMB\IFileInfo[]</code>
- </InvalidReturnType>
<InvalidScalarArgument occurrences="7">
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
@@ -1930,24 +1921,6 @@
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="1">
- <code>$e-&gt;getCode()</code>
- </InvalidScalarArgument>
- <NullArgument occurrences="1">
- <code>$cookie</code>
- </NullArgument>
- <RedundantCondition occurrences="3">
- <code>!is_null($limit)</code>
- <code>$limit === 0</code>
- <code>is_array($result)</code>
- </RedundantCondition>
- <TypeDoesNotContainNull occurrences="1">
- <code>is_null($findings)</code>
- </TypeDoesNotContainNull>
- <TypeDoesNotContainType occurrences="2">
- <code>!is_null($attr) &amp;&amp; !is_array($attr)</code>
- <code>count($usedNames) === 0</code>
- </TypeDoesNotContainType>
</file>
<file src="apps/user_ldap/lib/AppInfo/Application.php">
<InvalidArgument occurrences="1">
@@ -1957,16 +1930,7 @@
<code>dispatch</code>
</TooManyArguments>
</file>
- <file src="apps/user_ldap/lib/Configuration.php">
- <InvalidScalarArgument occurrences="1">
- <code>time()</code>
- </InvalidScalarArgument>
- </file>
<file src="apps/user_ldap/lib/Connection.php">
- <InvalidScalarArgument occurrences="2">
- <code>LDAP_OPT_PROTOCOL_VERSION</code>
- <code>LDAP_OPT_REFERRALS</code>
- </InvalidScalarArgument>
<ParadoxicalCondition occurrences="1"/>
</file>
<file src="apps/user_ldap/lib/Group_LDAP.php">
@@ -2057,8 +2021,7 @@
<InvalidReturnType occurrences="1">
<code>null</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="3">
- <code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code>
+ <InvalidScalarArgument occurrences="2">
<code>1</code>
<code>true</code>
</InvalidScalarArgument>
@@ -2067,9 +2030,6 @@
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code>
</ImplementedReturnTypeMismatch>
- <InvalidScalarArgument occurrences="1">
- <code>$path</code>
- </InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="2">
<code>$limit</code>
<code>$offset</code>
@@ -2096,15 +2056,9 @@
<code>private function detectGroupMemberAssoc() {</code>
<code>private function getAttributeValuesFromEntry($result, $attribute, &amp;$known) {</code>
</InvalidDocblock>
- <InvalidScalarArgument occurrences="8">
+ <InvalidScalarArgument occurrences="2">
<code>$port</code>
<code>$port</code>
- <code>LDAP_OPT_NETWORK_TIMEOUT</code>
- <code>LDAP_OPT_NETWORK_TIMEOUT</code>
- <code>LDAP_OPT_PROTOCOL_VERSION</code>
- <code>LDAP_OPT_PROTOCOL_VERSION</code>
- <code>LDAP_OPT_REFERRALS</code>
- <code>LDAP_OPT_REFERRALS</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>!isset($item['cn']) &amp;&amp; !is_array($item['cn'])</code>