Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Add FakeSMS Logger transport#42123
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Component/Notifier/Bridge/FakeSms/FakeSmsTransportFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/FakeSms/FakeSmsTransportFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/FakeSms/Tests/FakeSmsLoggerTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/FakeSms/Tests/FakeSmsLoggerTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/FakeSms/Tests/FakeSmsLoggerTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
noniagriconomie commentedJul 15, 2021
@OskarStark done, if wanted, I can create a second PR for FakeChatLoggerTransport |
src/Symfony/Component/Notifier/Bridge/FakeSms/Tests/FakeSmsLoggerTransportTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
OskarStark commentedJul 16, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yes please do 👍🏻 |
src/Symfony/Component/Notifier/Bridge/FakeSms/Tests/TestLogger.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Nyholm commentedJul 19, 2021
Sorry for asking. But why can't we just add a logger to the FakeSMS transport? |
OskarStark commentedJul 19, 2021
In this case one need to configure the email stuff just to get the logging. If you have no mailing in your project, you would need to set it up just for local dev to have the entry point via DSN |
OskarStark commentedJul 28, 2021
Please add a test case to UnsupportedSchemeExceptionTest Thanks |
noniagriconomie commentedJul 30, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
PR rebased, also on
I am sorry I really do not understand this, when I check into this class Notifier\UnsupportedSchemeExceptionTest, I already see logic on can you be more precise on the way to do the required test? thank you edit: appveyor failure is not related to this addition |
OskarStark commentedJul 30, 2021
You are right, it is just a new transport for an existing bridge 👍 |
OskarStark commentedJul 31, 2021
Thanks for your work on this new feature! |
…mie)This PR was merged into the 5.4 branch.Discussion----------[Notifier] Add FakeChat Logger transport| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets | Sub part of#40625| License | MIT| Doc PR | WIPRefs#42123 for Notifier FakeChatCommits-------2bfe06f Add FakeChat Logger transport
…mie)This PR was merged into the 5.4 branch.Discussion----------[Notifier] Add FakeChat Logger transport| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets | Sub part of #40625| License | MIT| Doc PR | WIPRefssymfony/symfony#42123 for Notifier FakeChatCommits-------2bfe06fac7 Add FakeChat Logger transport
Friendly ping@OskarStark
As commentedhere I use mainly the sms transport, thus wanted to work on the fake sms. This PR adds the
logger.For the part
an optional channel, how can we get to here? dymanically retreiving the proper logger based on the dsn config?