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 MessageMedia Bridge#41375
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
carsonbot commentedMay 21, 2021
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
carsonbot commentedMay 21, 2021
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
69fa398 tod36de82Compare
OskarStark left a comment
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.
Except small things.... almost perfect 🤩
Thank you for your contribution 👍🏻
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
d09e61a to8e1eaa9Comparevuphuong87 commentedMay 22, 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.
@OskarStark I updated all your suggestions. Could you take a look again? By the way, Travis CI build is always failed in the FrameworkBundle tests because the package hasn't loaded yet. Could you advise what should I do for this case? Thanks for your quick review! |
jschaedl commentedMay 23, 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.
Thanks for providing this new notifier bridge. Code looks perfect already.
To fix this issue, you need to add the new bridge as a composer dev requirement in the FrameworkBundle:https://github.com/symfony/symfony/blob/5.4/src/Symfony/Bundle/FrameworkBundle/composer.json#L70 @OskarStark Not sure how it works, but creating the repository for the MessageMedia bridge (symfony/message-media-notifier) before we merge this PR is not possible, is it? Alternatively I could change this test: |
StaffNowa commentedMay 24, 2021
@jschaedl I think possible merge while we do not have 📦 like additional repository. @OskarStark know much more than me :) |
vuphuong87 commentedMay 24, 2021
@jschaedl My thought is the tests should be there to make sure the integration is correct or reviewers will always need to remind new contributors like me 😛 Do you know how did it work with the previous bridges? |
OskarStark commentedMay 26, 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.
Uh oh!
There was an error while loading.Please reload this page.
OskarStark left a comment
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.
Small one
fabpot commentedJun 27, 2021
@vuphuong87 Can you check why the tests fail? |
StaffNowa commentedJun 27, 2021
Hey, are you ready to finish your PR@vuphuong87 ? 👍 |
vuphuong87 commentedJun 27, 2021
@fabpot@StaffNowa My bad. I put a bad naming for the data provider which phpunit think it was a test. I fixed it now. |
vuphuong87 commentedJun 27, 2021
Looks like there are flaky tests for 7.2 & 8.0. |
ab4075f to0efe777Comparevuphuong87 commentedJul 1, 2021
@OskarStark still get the same errors about Telnyx in the latest build. Look like it is because of the subsplit not being configured yet (as@wouterj commented in the PR). |
StaffNowa commentedJul 1, 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.
@vuphuong87 telnyx not yet pushed to packagist. Which error did you get? |
OskarStark commentedJul 1, 2021
Can you please rebase, afterwards I will merge this PR, thanks |
0efe777 to6dc7304Comparevuphuong87 commentedJul 1, 2021
@StaffNowa Yep, I think that is the case. The error is by the way: @OskarStark I rebased it. Thank you very much!! |
OskarStark commentedJul 1, 2021
vuphuong87 commentedJul 1, 2021
@OskarStark I pushed a new fix for it. Turn out it throws another exception for Could you review again. Really it works well for now. |
OskarStark commentedJul 1, 2021
cb524ab toc7f3454Comparevuphuong87 commentedJul 2, 2021
@OskarStark I messed up with my work email. Updated the PR again, my face is now shown up :p Thanks. |
OskarStark left a comment
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.
Thanks, the following 3 tests will be green after the subtree split:
There were 3 failures:350335041) Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\PhpFrameworkExtensionTest::testIfNotifierTransportsAreKnownByFrameworkExtension3505Did you forget to add the TransportFactory: "MessageMedia" to the $classToServices array in the FrameworkBundleExtension?3506Failed asserting that false is true.35073508/home/runner/work/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php:1883350935102) Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\XmlFrameworkExtensionTest::testIfNotifierTransportsAreKnownByFrameworkExtension3511Did you forget to add the TransportFactory: "MessageMedia" to the $classToServices array in the FrameworkBundleExtension?3512Failed asserting that false is true.35133514/home/runner/work/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php:1883351535163) Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\YamlFrameworkExtensionTest::testIfNotifierTransportsAreKnownByFrameworkExtension3517Did you forget to add the TransportFactory: "MessageMedia" to the $classToServices array in the FrameworkBundleExtension?3518Failed asserting that false is true.35193520/home/runner/work/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php:1883c7f3454 todd3da8fCompareOskarStark commentedJul 2, 2021
Thanks for your work on this new feature! |
This PR was squashed before being merged into the 5.4 branch.Discussion----------[Notifier] [MessageMedia] add docsMessageMedia Bridge:symfony/symfony#41375Commits-------1b5fd8c [Notifier] [MessageMedia] add docs
vuphuong87 commentedJul 2, 2021
Thanks a lot for you feedback and handling this PR@OskarStark |
OskarStark commentedJul 2, 2021
Very welcome, thanks for your contribution! |


Uh oh!
There was an error while loading.Please reload this page.
Add MessageMedia bridge to Symfony Notifier
https://messagemedia.github.io/documentation/#operation/SendMessages