Skip to content

Conversation

@OvidiuGi
Copy link
Contributor

@OvidiuGi OvidiuGi commented Sep 16, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #61776
License MIT

This commit modifies the validation regex to handle 'whatsapp:' prefixes. The regex now correctly validates WhatsApp numbers without breaking existing functionality for standard phone numbers.

See

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.4 branch.

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!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@OskarStark
Copy link
Contributor

This is a new feature and must target 7.4 branch

@OvidiuGi OvidiuGi changed the base branch from 6.4 to 7.4 September 17, 2025 06:46
@xabbuh
Copy link
Member

xabbuh commented Sep 17, 2025

Please also add an entry to the changelog file of the Twilio bridge to mention the added support for the WhatsApp API.

@xabbuh xabbuh added Feature and removed Bug labels Sep 17, 2025
@xabbuh xabbuh modified the milestones: 6.4, 7.4 Sep 17, 2025
This commit modifies the validation regex to handle 'whatsapp:' prefixes. The regex now correctly validates WhatsApp numbers without breaking existing functionality for standard phone numbers.
@fabpot
Copy link
Member

fabpot commented Sep 18, 2025

Thank you @OvidiuGi.

@fabpot fabpot merged commit 584ff71 into symfony:7.4 Sep 18, 2025
9 of 12 checks passed
abdellahrk pushed a commit to abdellahrk/symfony that referenced this pull request Sep 18, 2025
…OvidiuGi)

This PR was merged into the 7.4 branch.

Discussion
----------

[Notifier][Twilio] WhatsApp number validation

| Q             | A
| ------------- | ---
| Branch?       | 7.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Issues        | Fix symfony#61776
| License       | MIT

This commit modifies the validation regex to handle 'whatsapp:' prefixes. The regex now correctly validates WhatsApp numbers without breaking existing functionality for standard phone numbers.

See
- [https://github.com/symfony/symfony/issues/61776](url)

Commits
-------

b64f285 fix: WhatsApp number validation
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Notifier][Twilio] WhatsApp number validation fails due to missing whatsapp: prefix in regex

7 participants