-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] [GoogleChat] [BC BREAK] Rename threadKey parameter to thread_key + set parameter via ctor #39579
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
6f3cbe7
to
8cfb2ed
Compare
ceda482
to
eb4f048
Compare
15d5d16
to
486109a
Compare
src/Symfony/Component/Notifier/Bridge/GoogleChat/Tests/GoogleChatTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/GoogleChat/GoogleChatTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/GoogleChat/GoogleChatTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/GoogleChat/GoogleChatTransportFactory.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/GoogleChat/Tests/GoogleChatTransportFactoryTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/GoogleChat/Tests/GoogleChatTransportTest.php
Show resolved
Hide resolved
@@ -47,6 +47,7 @@ public function supportsProvider(): iterable | |||
public function incompleteDsnProvider(): iterable | |||
{ | |||
yield 'missing credentials' => ['googlechat://chat.googleapis.com/v1/spaces/AAAAA_YYYYY/messages']; |
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.
I think this test is wrong, as our DSN should not contains v1/spaces
the exception might not be related to the missing credentials
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.
This should then be fixed in 5.2 branch, but I think you are right 🤔
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.
Created a PR: #39848
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.
PR merged and this one rebase @jderusse
src/Symfony/Component/Notifier/Bridge/GoogleChat/Tests/GoogleChatTransportTest.php
Outdated
Show resolved
Hide resolved
…ad_key + set parameter via ctor
This PR was merged into the 5.3-dev branch. Discussion ---------- [Notifier] Rename threadKey to thread_key Follows symfony/symfony#39579 cc @GromNaN Commits ------- debedc3 Rename threadKey to thread_key
…"threadKey" parameter (IonBazan) This PR was merged into the 5.4 branch. Discussion ---------- [Notifier] [GoogleChat] remove support for deprecated "threadKey" parameter | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Removing the deprecation error introduced when renaming `threadKey` to `thread_key` in #39579 Commits ------- aada697 remove support for deprecated "threadKey" parameter
All bridges receive their options via the
constructor
and use snake_case parameters.Todos
cc @GromNaN as you provided the bridge