summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-12 19:34:01 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 12:27:17 +0200
commitdf746d1fb060d757978932c98493fb05e17bbe03 (patch)
treefb9ab2476d693a5a016adb0a008f5ddfddb04859
parent7af68174ff51200ac46d3b74e5db98c258867e6f (diff)
downloadnextcloud-server-df746d1fb060d757978932c98493fb05e17bbe03.tar.gz
nextcloud-server-df746d1fb060d757978932c98493fb05e17bbe03.zip
test(psalm): ignore known reports
- this is code we also have in master, but raises flags here due to "race conditions" in merging and backporting competing with enabling psalm reacting on those types. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--build/psalm-baseline.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 32663c9bc15..c5a1e69e793 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2705,6 +2705,9 @@
<InvalidReturnType occurrences="1">
<code>getChecksum</code>
</InvalidReturnType>
+ <LessSpecificImplementedReturnType occurrences="1">
+ <code>INode|IRootFolder</code>
+ </LessSpecificImplementedReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;getFileInfo()-&gt;getId()</code>
</NullableReturnStatement>
@@ -2734,6 +2737,9 @@
<InvalidNullableReturnType occurrences="1">
<code>\OC\User\User</code>
</InvalidNullableReturnType>
+ <LessSpecificImplementedReturnType occurrences="1">
+ <code>INode|IRootFolder</code>
+ </LessSpecificImplementedReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;user</code>
</NullableReturnStatement>