diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-07-03 10:05:53 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-07-03 18:09:27 +0200 |
commit | cd91b771934c81c8cf0a4ed8724b8584f8593e31 (patch) | |
tree | 2a518a3a9e21584fceeb04b2d5b656ed1d13f0d3 /psalm.xml | |
parent | 646dfd2a40aa79b8fed8be314070bb8f629a6edc (diff) | |
download | nextcloud-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.xml | 4 |
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"/> |