Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab7f816

Browse filesBrowse files
committed
feature #43328 [MonologBridge] Deprecate the Swiftmailer handler (fabpot)
This PR was merged into the 5.4 branch. Discussion ---------- [MonologBridge] Deprecate the Swiftmailer handler | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | yes <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | n/a As Swiftmailer is deprecated and won't be maintained anymore at the end of November, let's deprecate the Swiftmailer Monolog handler in 5.4. Commits ------- e7cc47b [MonologBridge] Deprecate the Swiftmailer handler
2 parents 4868dd0 + e7cc47b commit ab7f816
Copy full SHA for ab7f816

File tree

3 files changed

+6
-2
lines changed
Filter options

3 files changed

+6
-2
lines changed

‎src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @author Bernhard Schussek <bschussek@gmail.com>
2727
*
28-
* @deprecated in 5.3, will be removed in 6.0.
28+
* @deprecated since Symfony 5.3
2929
*/
3030
class DoctrineTestHelper
3131
{

‎src/Symfony/Bridge/Doctrine/Test/TestRepositoryFactory.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Test/TestRepositoryFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Andreas Braun <alcaeus@alcaeus.org>
2121
*
22-
* @deprecated in 5.3, will be removed in 6.0.
22+
* @deprecated since Symfony 5.3
2323
*/
2424
class TestRepositoryFactory implements RepositoryFactory
2525
{

‎src/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
1616
use Symfony\Component\HttpKernel\Event\TerminateEvent;
1717

18+
trigger_deprecation('symfony/monolog-bridge', '5.4', '"%s" is deprecated and will be removed in 6.0.', SwiftMailerHandler::class);
19+
1820
/**
1921
* Extended SwiftMailerHandler that flushes mail queue if necessary.
2022
*
2123
* @author Philipp Kräutli <pkraeutli@astina.ch>
2224
*
2325
* @final
26+
*
27+
* @deprecated since Symfony 5.4
2428
*/
2529
class SwiftMailerHandler extends BaseSwiftMailerHandler
2630
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.