Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

[FrameworkBundle] do not use deprecated mailer.logger_message_listener service#37728

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromxabbuh:pr-37712
Aug 11, 2020

Conversation

@xabbuh
Copy link
Member

QA
Branch?master
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

$container->getDefinition('mailer.transports')->setArgument(0,$transports);
$container->getDefinition('mailer.default_transport')->setArgument(0,current($transports));

$container->removeDefinition('mailer.logger_message_listener');
Copy link
Member

Choose a reason for hiding this comment

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

why removing a definition and adding a deprecated alias following it ? Why not creating the right deprecated alias from the beginning ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Themailer.message_logger_listener service is not always defined (only when the profiler is enabled).

Copy link
Member

Choose a reason for hiding this comment

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

but here, you still remove themailer.logger_message_listener definition all the time to replace it by an alias. So I don't see how this matters.

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit8449f70 intosymfony:masterAug 11, 2020
@xabbuhxabbuh deleted the pr-37712 branchAugust 11, 2020 16:42
fabpot added a commit that referenced this pull requestAug 21, 2020
…logger listener (xabbuh)This PR was merged into the 5.2-dev branch.Discussion----------[FrameworkBundle] properly choose the best mailer message logger listener| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       || License       | MIT| Doc PR        |Properly merge the changes from#37729 and#37728.Commits-------6cffc79 properly choose the best mailer message logger listener
@nicolas-grekasnicolas-grekas modified the milestones:next,5.2Oct 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

6 participants

@xabbuh@fabpot@stof@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp