-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Rework/streamline bridges (5.2) #39428
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
Conversation
03d13d8
to
fbd7182
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taking back my approval because Oskar says the PR is not ready. 🙃
ba65ec3
to
a6a5ef6
Compare
@OskarStark Regarding the proposed change for the Thanks for improving those components. :) |
src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
Ok, thank you for your feedback, I will do this in a separate PR after this one is merged 👍 |
17e3a56
to
5914bde
Compare
src/Symfony/Component/Notifier/Bridge/Sendinblue/Tests/SendinblueTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
7e1ccaa
to
057c10b
Compare
src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Smsapi/Tests/SmsapiTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Zulip/Tests/ZulipTransportTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Zulip/Tests/ZulipTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Smsapi/Tests/SmsapiTransportTest.php
Show resolved
Hide resolved
79ffbc2
to
21f4e35
Compare
src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Sendinblue/Tests/SendinblueTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Smsapi/Tests/SmsapiTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Smsapi/Tests/SmsapiTransportTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Zulip/Tests/ZulipTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Zulip/Tests/ZulipTransportTest.php
Show resolved
Hide resolved
5558825
to
bf05714
Compare
@fabpot I would love to get a review/merge here, so I can proceed, thanks 👍 |
Thank you @OskarStark. |
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) * [ ] Update recipe * [ ] Update documentation cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
| Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on symfony#39428 (comment) cc @odolbeau as you provided the bridge
… Mattermost and Esendex transport (OskarStark) This PR was squashed before being merged into the 5.3-dev branch. Discussion ---------- [Notifier] [BC BREAK] Change constructor signature for Mattermost and Esendex transport | Q | A | ------------- | --- | Branch? | 5.x, but BC BREAK for experimental bridge | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Based on #39428 (comment) cc @odolbeau as you provided the bridge Commits ------- c5b9acf [Notifier] [BC BREAK] Change constructor signature for Mattermost and Esendex transport
This PR
While working on adding tests for
symfony/esendex-notifier
I noticed that theEsendexTransport
has the following signature:symfony/src/Symfony/Component/Notifier/Bridge/Esendex/EsendexTransport.php
Line 36 in 613ac0c
and is resolved by the
EsendexTransportFactory
like:symfony/src/Symfony/Component/Notifier/Bridge/Esendex/EsendexTransportFactory.php
Line 30 in 613ac0c
but the
README
exposes the DSN like:as this Bridge is experimental in
5.2
I propose to change the transport signature like, because to me it is more email/password like described in the readme than a "token":What do you think?
cc @odolbeau as you provided the Esendex bridge.