Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Notifier] [FakeChat] Allow missing optional dependency #48565

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

Conversation

benschoch
Copy link

@benschoch benschoch commented Dec 9, 2022

Q A
Branch? 6.3
Bug fix? no
New feature? kind of
Deprecations? no
Tickets see #48441
License MIT

Nearly the same as in this PR: #48546

This allows the FakeChatTransportFactory to be used without providing an implementation of MailerInterface or LoggerInterface if one of them is actually not required during runtime.

I did not share any of the implementation now between both components. I could think of pulling out the Exception as well as Parts of the test to something like a FakeTransportFactoryTestCase for example. What do you think?

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.3 for features / 5.4, 6.0, 6.1, or 6.2 for bug fixes".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

Good to merge after my comments

@OskarStark
Copy link
Contributor

Can you please squash the 4 commits into one? Our tool is only able to do this if all commits are from the same author... 😞 Afterwards I will merge this PR. Thank you!

@benschoch benschoch force-pushed the optional_notifier_fakechat_dependency branch from bbb8d0b to 3f312b8 Compare December 9, 2022 10:36
@OskarStark
Copy link
Contributor

Thanks Benjamin for working on this feature, this is much appreciated.

@OskarStark OskarStark merged commit 0f24e41 into symfony:6.3 Dec 9, 2022
@fabpot fabpot mentioned this pull request May 1, 2023
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.

4 participants