aboutsummaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2023-03-21 18:11:56 +0100
committerThomas Citharel <tcit@tcit.fr>2023-05-16 11:38:57 +0200
commit13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890 (patch)
tree8c1e24ef83de8eb8ad43a34482161668a321147b /build/psalm-baseline.xml
parent25dd264965905316672631db95707e9051d57d69 (diff)
downloadnextcloud-server-13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890.tar.gz
nextcloud-server-13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890.zip
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars. As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's. I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 8e315fa1ddc..72b94dc35d7 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -31,6 +31,11 @@
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
+ <file src="3rdparty/sabre/dav/lib/CardDAV/Card.php">
+ <MoreSpecificImplementedParamType occurrences="1">
+ <code>$cardData</code>
+ </MoreSpecificImplementedParamType>
+ </file>
<file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
<LessSpecificImplementedReturnType>
<code>array</code>