summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-11 10:18:58 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-01-11 10:18:58 +0100
commit568d46a3a5828b39cea16a83c1908651d18067f8 (patch)
tree65583fdf177a6a47e07732d0c41fa188cbbd9401 /build
parent43ec70d43bdce15389e65e9654e8b69c53cf1141 (diff)
downloadnextcloud-server-568d46a3a5828b39cea16a83c1908651d18067f8.tar.gz
nextcloud-server-568d46a3a5828b39cea16a83c1908651d18067f8.zip
[stable20] Update psalm-baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index d6c0ce573a0..4d78638e383 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2481,16 +2481,14 @@
<ParadoxicalCondition occurrences="1"/>
</file>
<file src="apps/user_ldap/lib/Group_LDAP.php">
- <InvalidArgument occurrences="3">
- <code>$this-&gt;cachedGroupMembers[$gid]</code>
+ <InvalidArgument occurrences="2">
<code>'dn'</code>
<code>$this-&gt;cachedGroupsByMember[$uid]</code>
</InvalidArgument>
- <InvalidPropertyAssignmentValue occurrences="6">
+ <InvalidPropertyAssignmentValue occurrences="5">
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
- <code>$this-&gt;cachedGroupMembers</code>
<code>$this-&gt;cachedNestedGroups</code>
<code>$this-&gt;cachedGroupsByMember</code>
</InvalidPropertyAssignmentValue>
@@ -2504,15 +2502,10 @@
<code>$groupID</code>
<code>$groupID</code>
</InvalidScalarArgument>
- <RedundantCondition occurrences="4">
- <code>!is_array($members) || count($members) === 0</code>
- <code>is_array($members)</code>
+ <RedundantCondition occurrences="2">
<code>is_array($list)</code>
<code>is_array($groupDNs)</code>
</RedundantCondition>
- <TypeDoesNotContainType occurrences="1">
- <code>is_array($members)</code>
- </TypeDoesNotContainType>
</file>
<file src="apps/user_ldap/lib/Helper.php">
<InvalidScalarArgument occurrences="1">
@@ -4778,6 +4771,14 @@
<code>true</code>
</InvalidReturnType>
</file>
+ <file src="lib/private/Files/Stream/Encryption.php">
+ <InvalidScalarArgument occurrences="1">
+ <code>$position</code>
+ </InvalidScalarArgument>
+ <UndefinedInterfaceMethod occurrences="1">
+ <code>offsetGet</code>
+ </UndefinedInterfaceMethod>
+ </file>
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
<FalsableReturnStatement occurrences="3">
<code>false</code>
@@ -4943,6 +4944,11 @@
<code>self::SORT_NONE</code>
</InvalidPropertyAssignmentValue>
</file>
+ <file src="lib/private/Http/Client/Client.php">
+ <NullArgument occurrences="1">
+ <code>null</code>
+ </NullArgument>
+ </file>
<file src="lib/private/Http/Client/Response.php">
<InvalidNullableReturnType occurrences="1">
<code>string|resource</code>