Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-03-12 13:20:04 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-31 08:49:19 +0300
commitd6d8e9215c69a9e8d4bfa2035c657b0a037f3a2f (patch)
tree942254503672d6ab3e0b6c8fca0bd4053db352b9 /build
parent9e596dd0cf455dc1639141c695f89c7d936f4c0c (diff)
Add a trashbin for calendars and calendar objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/CalDavContext.php3
-rw-r--r--build/psalm-baseline.xml26
2 files changed, 16 insertions, 13 deletions
diff --git a/build/integration/features/bootstrap/CalDavContext.php b/build/integration/features/bootstrap/CalDavContext.php
index b1981568e44..e01621359f1 100644
--- a/build/integration/features/bootstrap/CalDavContext.php
+++ b/build/integration/features/bootstrap/CalDavContext.php
@@ -70,6 +70,9 @@ class CalDavContext implements \Behat\Behat\Context\Context {
'admin',
'admin',
],
+ 'headers' => [
+ 'X-NC-CalDAV-No-Trashbin' => '1',
+ ]
]
);
} catch (\GuzzleHttp\Exception\ClientException $e) {
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 225d191f640..5971cc18c35 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -163,11 +163,14 @@
<file src="apps/dav/lib/CalDAV/CalDavBackend.php">
<InvalidArgument occurrences="8">
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
+
<code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
+
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
+
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
</InvalidArgument>
@@ -186,7 +189,7 @@
<RedundantCast occurrences="1">
<code>(int)$calendarId</code>
</RedundantCast>
- <TooManyArguments occurrences="9">
+ <TooManyArguments occurrences="13">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
@@ -200,7 +203,7 @@
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
- <code>purgeProperties</code>
+
</TooManyArguments>
<UndefinedFunction occurrences="4">
<code>Uri\split($principalUri)</code>
@@ -210,16 +213,13 @@
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CalDAV/CalendarHome.php">
- <InvalidReturnStatement occurrences="5">
- <code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</code>
- <code>new Inbox($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
- <code>new Outbox($this-&gt;config, $this-&gt;principalInfo['uri'])</code>
- <code>new Subscription($this-&gt;caldavBackend, $subscription)</code>
- <code>new \Sabre\CalDAV\Notifications\Collection($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>getChild</code>
- </InvalidReturnType>
+ <InvalidNullableReturnType occurrences="1">
+ <code>INode</code>
+ </InvalidNullableReturnType>
+ <LessSpecificImplementedReturnType occurrences="1">
+ <code>INode</code>
+ </LessSpecificImplementedReturnType>
+
<NullableReturnStatement occurrences="1">
<code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</code>
</NullableReturnStatement>
@@ -5095,4 +5095,4 @@
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
-</files>
+</files> \ No newline at end of file