aboutsummaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-08-07 19:35:50 +0200
committerRobin Appelman <robin@icewind.nl>2024-08-07 19:41:44 +0200
commit5490b12febf6ac2b93d320ed5521b272faa6f73a (patch)
treec2fcfc536077e42e0fd27c079335f09fadd5f4cd /psalm.xml
parentcae0a8218da63fad6b6808b0051f4db1f196a79a (diff)
downloadnextcloud-server-5490b12febf6ac2b93d320ed5521b272faa6f73a.tar.gz
nextcloud-server-5490b12febf6ac2b93d320ed5521b272faa6f73a.zip
chore: add psalm false positive to psalm.xml
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
index 05ea0ef20bc..dece0c3eb88 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -151,5 +151,12 @@
<referencedClass name="OCA\GlobalSiteSelector\Service\SlaveService"/>
</errorLevel>
</UndefinedDocblockClass>
+ <AmbiguousConstantInheritance>
+ <errorLevel type="suppress">
+ <!-- false positive: https://github.com/vimeo/psalm/issues/7818 -->
+ <referencedConstant name="OC\Memcache\Redis::DEFAULT_TTL" />
+ <referencedConstant name="OC\Memcache\LoggerWrapperCache::DEFAULT_TTL" />
+ </errorLevel>
+ </AmbiguousConstantInheritance>
</issueHandlers>
</psalm>