8000 Deprecated use of service · Issue #191 · symfony/swiftmailer-bundle · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Deprecated use of service #191

Closed
garak opened this issue Sep 20, 2017 · 4 comments
Closed

Deprecated use of service #191

garak opened this issue Sep 20, 2017 · 4 comments

Comments

@garak
Copy link
garak commented Sep 20, 2017

Using swiftmailer-bundle v3.0.4 and symfony 3.3, I'm getting the following deprecation notices:

  • Checking for the existence of the "mailer" private service is deprecated since Symfony 3.2 and won't be supported anymore in Symfony 4.0
  • Requesting the "swiftmailer.mailer.default.transport.real" private service is deprecated since Symfony 3.2 and won't be supported anymore in Symfony 4.0
  • Checking for the existence of the "swiftmailer.mailer.default.plugin.messagelogger" private service is deprecated since Symfony 3.2 and won't be supported anymore in Symfony 4.0
  • Requesting the "swiftmailer.mailer.default.plugin.messagelogger" private service is deprecated since Symfony 3.2 and won't be supported anymore in Symfony 4.0
@stof
Copy link
Member
stof commented Sep 20, 2017

Looks like you are using the dev version of the symfony/dependency-injection component, as mailerbecoming private looks related to changes belonging to Symfony 3.4, not to 3.3

@garak
Copy link
Author
garak commented Sep 20, 2017

Well, I'm indeed using Flex, with a mix of 3.3 and 3.4@dev (debug toolbar reporting 3.3.9 anyway).

@stof
Copy link
Member
stof commented Sep 20, 2017

Well, then these messages are expected. We need to make a few changes in SwiftmailerBundle to account for changes merged in symfony/dependency-injection yesterday, and they have not been done yet.

@javiereguiluz
Copy link
Member

Closing as fixed by #200 and #203.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0