Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #36211


$iterator->next();
}
} catch (MaxInstancesExceededException $e) {

Check failure

Code scanning / Psalm

UndefinedClass

Class, interface or enum named OCA\DAV\CalDAV\Reminder\MaxInstancesExceededException does not exist
}
} catch (MaxInstancesExceededException $e) {
// Using debug logger as this isn't really an error
$this->logger->debug('Recurrence with too many instances detected, skipping VEVENT', ['exception' => $e]);

Check failure

Code scanning / Psalm

UndefinedThisPropertyFetch

Instance property OCA\DAV\CalDAV\Reminder\ReminderService::$logger is not defined
'id' => $reminder['object_id'],
], $reminder['event_hash'], $alarmHash, true, false);
$this->writeRemindersToDatabase($alarms);
foreach ($event->VALARM as $valarm) {

Check notice

Code scanning / Psalm

PossiblyNullIterator

Cannot iterate over nullable var Sabre\VObject\Property|null
@tcitworld
Copy link
Member

If we backport this one to 24 we might as well do the same for #32191 as it will be encountered before.

@miaulalala
Copy link
Contributor

the exception doesn't exist for stable24

@miaulalala miaulalala closed this Jan 19, 2023
@ChristophWurst ChristophWurst deleted the backport/36211/stable24 branch January 19, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: caldav Related to CalDAV internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants