Skip to content

[Notifier] [FakeSms] [FakeChat] Update DSN #15206

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

Merged
merged 1 commit into from
Apr 12, 2021
Merged

Conversation

OskarStark
Copy link
Contributor

OskarStark added a commit to symfony/symfony that referenced this pull request Apr 12, 2021
…keSms and FakeChat (OskarStark)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[Notifier] Inject Mailer instead of service locator for FakeSms and FakeChat

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fixes #40731
| License       | MIT
| Doc PR        | symfony/symfony-docs#15206
| Recipe PR        | symfony/recipes#930

Until now the locator was not injected and therefore not working.

We decided to make the transport name configurable instead of the service_id.

[How is it working?](#40739 (comment))

### Todos
* [x] add tests
* [x] test in a real project

Commits
-------

0f6d507 [Notifier] Inject Mailer instead of service locator for FakeSms and FakeChat
@OskarStark OskarStark removed the Waiting Code Merge Docs for features pending to be merged label Apr 12, 2021
@OskarStark OskarStark merged commit ae9dc34 into symfony:5.x Apr 12, 2021
@OskarStark OskarStark deleted the fix/dsn branch December 7, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants