diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/CalDavContext.php | 3 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 26 |
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->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)</code> - <code>new Inbox($this->caldavBackend, $this->principalInfo['uri'])</code> - <code>new Outbox($this->config, $this->principalInfo['uri'])</code> - <code>new Subscription($this->caldavBackend, $subscription)</code> - <code>new \Sabre\CalDAV\Notifications\Collection($this->caldavBackend, $this->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->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)</code> </NullableReturnStatement> @@ -5095,4 +5095,4 @@ <code>$e->getCode()</code> </InvalidScalarArgument> </file> -</files> +</files>
\ No newline at end of file |