summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail/Attachment.php
Commit message (Collapse)AuthorAgeFilesLines
* Adds same object return annotations.Faraz Samapoor2023-06-271-0/+3
| | | | | | | Based on: https://github.com/nextcloud/server/pull/38987#discussion_r1241866676 Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Refactors lib/private/Mail.Faraz Samapoor2023-06-251-19/+4
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-12/+24
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make \OCP\Mail strictRoeland Jago Douma2018-03-051-4/+5
| | | | | | | * Fix typehints * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add attachment support to emailsJoas Schilling2017-10-181-0/+78
Signed-off-by: Joas Schilling <coding@schilljs.com>