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 SMSense bridge#53734
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 commentedFeb 2, 2024
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 |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Resources/config/notifier_transports.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.
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/SMSense/SMSenseTransport.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/SMSense/SMSenseTransport.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/SMSense/Tests/SMSenseTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/SMSense/Tests/SMSenseTransportTest.phpShow 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.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Tests/Exception/UnsupportedSchemeExceptionTest.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.
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/Bundle/FrameworkBundle/Resources/config/notifier_transports.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.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/SMSense/Tests/SMSenseTransportFactoryTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/SMSense/Tests/SMSenseTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/SMSense/Tests/SMSenseTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
fabpot 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.
The class prefix should beSmsense to avoid having a package nameds-m-ense-notifier
jimiero commentedFeb 16, 2024
Made the changes |
fabpot commentedFeb 16, 2024
@jimiero Can you have a look at the tests, some are broken for this new notifier. |
jimiero commentedFeb 16, 2024
Changed them and now the tests are not failing anymore. |
src/Symfony/Component/Notifier/Bridge/Smsense/SmsenseTransport.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/Smsense/Tests/SmsenseTransportTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedFeb 19, 2024
@jimiero Tests are still broken apparently, seehttps://github.com/symfony/symfony/actions/runs/7955729597/job/21715188628?pr=53734#step:8:126 |
jimiero commentedFeb 19, 2024
Works just fine if I do this instead `$response = $this->createMock(ResponseInterface::class); if I do:
it fails seems, any suggestions? |
stloyd commentedFeb 19, 2024
My bad with suggestion to use that version of mock, you put encoded body into json mock which expects to get php array instead. Either you can remove the fixture file and inject the php array into json mock or use again interface mock again. |
jimiero commentedFeb 19, 2024
Yep that was it, pushed changes by removing fixtures file and replaced JsonMockResponse input with a php array instead. |
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedFeb 23, 2024
Thank you@jimiero. |
Uh oh!
There was an error while loading.Please reload this page.
SMSense is a Romanian sms provider.