Skip to content

[SwiftmailerBridge] Marked MessageDataCollector as deprecated #8520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jeremyFreeAgent
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? yes
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Now you can configure several mailers.

Linked to the following PR:

@@ -38,6 +41,8 @@ class MessageDataCollector extends DataCollector
*/
public function __construct(ContainerInterface $container, $isSpool)
{
trigger_error('Symfony\Bridge\Swiftmailer\DataCollector\MessageDataCollector is deprecated since version 2.4 and will be removed in 3.0. Use MessageDataCollector of SwiftmailerBundle instead.', E_USER_DEPRECATED);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK if something will be removed in 3.0 it should not throw error, this way is only for "minor" versions.

@jeremyFreeAgent
Copy link
Contributor Author

Ok thanks.

fabpot added a commit that referenced this pull request Jul 19, 2013
…or (PR #8520)

This PR was merged into the master branch.

Discussion
----------

[SwiftmailerBridge] Marked MessageDataCollector as deprecated

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | yes
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Now you can configure several mailers.

Linked to the following PR:
- [ ] symfony/swiftmailer-bundle#34

Commits
-------

15bf1d7 [SwiftmailerBridge] Marked MessageDataCollector as deprecated
@fabpot fabpot merged commit 15bf1d7 into symfony:master Jul 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants