stable

Clone or download

Read-only

refactor: Use NeverThrow to extract title

Main method starts to being messy, adding more behavior will soon be difficult. Retrieval is now delegated to a method with usage of NeverThrow in order to handle tricky cases. This will allow us to easily extract getEventSummary to a dedicated object if we need to. No functional changes, tests should be happy. Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: I7f26cac2feee7eb208d1bb6fc5cc53d6796d4db8

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php +73 −30 Go to diff View file