aboutsummaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-07-03 10:05:53 +0200
committerjld3103 <jld3103yt@gmail.com>2023-07-03 18:09:27 +0200
commitcd91b771934c81c8cf0a4ed8724b8584f8593e31 (patch)
tree2a518a3a9e21584fceeb04b2d5b656ed1d13f0d3 /psalm.xml
parent646dfd2a40aa79b8fed8be314070bb8f629a6edc (diff)
downloadnextcloud-server-cd91b771934c81c8cf0a4ed8724b8584f8593e31.tar.gz
nextcloud-server-cd91b771934c81c8cf0a4ed8724b8584f8593e31.zip
psalm: Enable more/less specific errors
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
index 831b875d5a0..87cecf3e2d2 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -83,6 +83,10 @@
<file name="3rdparty/sabre/uri/lib/functions.php" />
</stubs>
<issueHandlers>
+ <LessSpecificReturnStatement errorLevel="error"/>
+ <LessSpecificReturnType errorLevel="error"/>
+ <LessSpecificImplementedReturnType errorLevel="error"/>
+ <MoreSpecificReturnType errorLevel="error"/>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="OCA\GroupFolders\Mount\GroupFolderStorage"/>