Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Notifier] [Discord] Make webhookId argument required#39413

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

Merged
fabpot merged 1 commit intosymfony:5.2fromOskarStark:dsicord-webhook-id
Dec 10, 2020

Conversation

@OskarStark
Copy link
Contributor

@OskarStarkOskarStark commentedDec 9, 2020
edited
Loading

QA
Branch?5.x
Bug fix?yes (but the code was introduced in 5.x)
New feature?no
Deprecations?no
Tickets---
LicenseMIT
Doc PR---

From the code perspective it looks like$webhookId cannot benull so I removed that and added a test.

cc@mpiot

@carsonbotcarsonbot changed the title[Notifier][Discord] Make webhookId argument required[Notifier] [Discord] Make webhookId argument requiredDec 9, 2020
Copy link

@bykclkbykclk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think you are right

@mpiot
Copy link
Contributor

mpiot commentedDec 9, 2020
edited
Loading

@OskarStark yes you're right, both are required: token and the chanel id, to use the webhook.
Thanks a lot :)

OskarStark reacted with thumbs up emoji

$this->assertSame(sprintf('discord://%s?webhook_id=%s',$host,$webhookId), (string)$transport);
}

publicfunctiontestCreateWithNoWebhookIdThrowsMalformed():void

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

: void as usual :)

@nicolas-grekasnicolas-grekas added this to the5.x milestoneDec 9, 2020
Copy link
Member

@fabpotfabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

To be merged in 5.2

@fabpot
Copy link
Member

Thank you@OskarStark.

@fabpotfabpot merged commit14a94dc intosymfony:5.2Dec 10, 2020
@OskarStarkOskarStark deleted the dsicord-webhook-id branchDecember 10, 2020 07:34
@fabpotfabpot mentioned this pull requestDec 18, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

@chalasrchalasrAwaiting requested review from chalasr

@jderussejderusseAwaiting requested review from jderusse

@srozesrozeAwaiting requested review from sroze

@wouterjwouterjAwaiting requested review from wouterj

@xabbuhxabbuhAwaiting requested review from xabbuh

@ycerutoycerutoAwaiting requested review from yceruto

+2 more reviewers

@mpiotmpiotmpiot approved these changes

@bykclkbykclkbykclk approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

6 participants

@OskarStark@mpiot@fabpot@nicolas-grekas@bykclk@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp