diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-04-29 10:04:08 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-04-29 15:31:19 +0200 |
commit | 63eb3694e4a2d87342f8b478bd02fff79a8c73e7 (patch) | |
tree | 927a85056427fa32254f37ee58ad709d93f1cf4d /build | |
parent | abb5b5d983be485b7e006085643788e5e007d942 (diff) | |
download | nextcloud-server-63eb3694e4a2d87342f8b478bd02fff79a8c73e7.tar.gz nextcloud-server-63eb3694e4a2d87342f8b478bd02fff79a8c73e7.zip |
Exclusively use the typed calendar deletion events for DAV
We had both in places, but the old one isn't used anywhere outside this
app, so it's time to migrate the code.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index d8d558822d1..d39a7429593 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -112,9 +112,6 @@ </MissingFile> </file> <file src="apps/dav/lib/AppInfo/Application.php"> - <UndefinedFunction occurrences="1"> - <code>\Sabre\Uri\split($principalUri)</code> - </UndefinedFunction> <UndefinedInterfaceMethod occurrences="1"> <code>getAppDataDir</code> </UndefinedInterfaceMethod> @@ -164,13 +161,12 @@ </NullableReturnStatement> </file> <file src="apps/dav/lib/CalDAV/CalDavBackend.php"> - <InvalidArgument occurrences="14"> + <InvalidArgument occurrences="13"> <code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendar'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code> <code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code> @@ -195,8 +191,7 @@ <RedundantCast occurrences="1"> <code>(int)$calendarId</code> </RedundantCast> - <TooManyArguments occurrences="15"> - <code>dispatch</code> + <TooManyArguments occurrences="14"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> @@ -860,6 +855,11 @@ <code>$this->usersToDelete</code> </InvalidPropertyAssignmentValue> </file> + <file src="apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php"> + <UndefinedFunction occurrences="1"> + <code>\Sabre\Uri\split($principalUri)</code> + </UndefinedFunction> + </file> <file src="apps/dav/lib/RootCollection.php"> <UndefinedPropertyAssignment occurrences="1"> <code>$publicCalendarRoot->disableListing</code> @@ -1087,7 +1087,6 @@ <code>$id</code> <code>$id</code> <code>$id</code> - <code>$id</code> <code>(int)$share['id']</code> </InvalidScalarArgument> </file> @@ -3164,7 +3163,6 @@ </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> - <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/DB/OracleConnection.php"> |