Skip to content

Commit

Permalink
chore: migrate to symfony/mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Oct 4, 2023
1 parent 57ff258 commit 4d2c394
Show file tree
Hide file tree
Showing 9 changed files with 341 additions and 381 deletions.
8 changes: 4 additions & 4 deletions apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testDelivery() {
$this->assertEquals('Fellowship meeting', $mailMessage->getSubject());
$this->assertEquals(['frodo@hobb.it' => null], $mailMessage->getTo());
$this->assertEquals(['gandalf@wiz.ard' => null], $mailMessage->getReplyTo());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getSwiftMessage()->getContentType());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getMessage()->getContentType());
}

public function testFailedDeliveryWithException() {
Expand Down Expand Up @@ -91,7 +91,7 @@ public function testFailedDeliveryWithException() {
$this->assertEquals('Fellowship meeting', $mailMessage->getSubject());
$this->assertEquals(['frodo@hobb.it' => null], $mailMessage->getTo());
$this->assertEquals(['gandalf@wiz.ard' => null], $mailMessage->getReplyTo());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getSwiftMessage()->getContentType());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getMessage()->getContentType());
}

public function testFailedDelivery() {
Expand Down Expand Up @@ -123,7 +123,7 @@ public function testFailedDelivery() {
$this->assertEquals('Fellowship meeting', $mailMessage->getSubject());
$this->assertEquals(['frodo@hobb.it' => null], $mailMessage->getTo());
$this->assertEquals(['gandalf@wiz.ard' => null], $mailMessage->getReplyTo());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getSwiftMessage()->getContentType());
$this->assertEquals('text/calendar; charset=UTF-8; method=REQUEST', $mailMessage->getMessage()->getContentType());
}

public function testDeliveryOfCancel() {
Expand Down Expand Up @@ -154,7 +154,7 @@ public function testDeliveryOfCancel() {
$this->assertEquals('Cancelled: Fellowship meeting', $mailMessage->getSubject());
$this->assertEquals(['frodo@hobb.it' => null], $mailMessage->getTo());
$this->assertEquals(['gandalf@wiz.ard' => null], $mailMessage->getReplyTo());
$this->assertEquals('text/calendar; charset=UTF-8; method=CANCEL', $mailMessage->getSwiftMessage()->getContentType());
$this->assertEquals('text/calendar; charset=UTF-8; method=CANCEL', $mailMessage->getMessage()->getContentType());
$this->assertEquals('CANCELLED', $message->message->VEVENT->STATUS->getValue());
}
}
74 changes: 37 additions & 37 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,50 +34,50 @@
},
"require": {
"php": ">=7.4",
"doctrine/dbal": "^2.13",
"phpseclib/phpseclib": "^3.0",
"ext-apcu": "*",
"ext-curl": "*",
"ext-exif": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-imagick": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-memcached": "*",
"ext-pdo": "*",
"ext-posix": "*",
"ext-simplexml": "*",
"ext-zip": "*",
"bantu/ini-get-wrapper": "v1.0.1",
"punic/punic": "^3.8",
"pear/archive_tar": "1.4.14",
"symfony/console": "^5.4",
"symfony/event-dispatcher": "^5.4",
"symfony/routing": "^5.4",
"symfony/process": "^5.4",
"pimple/pimple": "^3.5",
"nikic/php-parser": "^4.15",
"icewind/streams": "0.7.7",
"swiftmailer/swiftmailer": "^6.3",
"guzzlehttp/guzzle": "^7.7",
"league/flysystem": "^1.1",
"pear/pear-core-minimal": "^v1.10",
"interfasys/lognormalizer": "^v1.0",
"owncloud/tarstreamer": "v2.1.0",
"christophwurst/id3parser": "^0.1.4",
"sabre/dav": "^4.4",
"sabre/http": "^5.1",
"composer/semver": "^3.3",
"deepdiver/zipstreamer": "^2.0",
"symfony/translation": "^5.4",
"dg/composer-cleaner": "^2.2",
"doctrine/dbal": "^2.13",
"firebase/php-jwt": "^6.8",
"guzzlehttp/guzzle": "^7.7",
"icewind/streams": "0.7.7",
"interfasys/lognormalizer": "^v1.0",
"laminas/laminas-inputfilter": "^2.21",
"laminas/laminas-servicemanager": "^3.17",
"laminas/laminas-validator": "^2.25",
"composer/semver": "^3.3",
"ext-json": "*",
"sabre/vobject": "^4.5",
"dg/composer-cleaner": "^2.2",
"firebase/php-jwt": "^6.8",
"ext-curl": "*",
"ext-apcu": "*",
"laravel/serializable-closure": "^1.3",
"ext-zip": "*",
"ext-memcached": "*",
"ext-gd": "*",
"ext-pdo": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-fileinfo": "*",
"ext-exif": "*",
"ext-imagick": "*",
"ext-posix": "*"
"league/flysystem": "^1.1",
"nikic/php-parser": "^4.15",
"owncloud/tarstreamer": "v2.1.0",
"pear/archive_tar": "1.4.14",
"pear/pear-core-minimal": "^v1.10",
"phpseclib/phpseclib": "^3.0",
"pimple/pimple": "^3.5",
"punic/punic": "^3.8",
"sabre/dav": "^4.4",
"sabre/http": "^5.1",
"sabre/vobject": "^4.5",
"symfony/console": "^5.4",
"symfony/event-dispatcher": "^5.4",
"symfony/mailer": "^5.4",
"symfony/process": "^5.4",
"symfony/routing": "^5.4",
"symfony/translation": "^5.4"
},
"extra": {
"bamarni-bin": {
Expand Down

0 comments on commit 4d2c394

Please sign in to comment.