Skip to content

feat: Validation for cambodia phone number added#2593

Closed
henrique73 wants to merge 1 commit intovalidatorjs:masterfrom
henrique73:feat(isMobile)/add-cambodia
Closed

feat: Validation for cambodia phone number added#2593
henrique73 wants to merge 1 commit intovalidatorjs:masterfrom
henrique73:feat(isMobile)/add-cambodia

Conversation

@henrique73
Copy link
Copy Markdown

Created a regular expression to validate Cambodia phone numbers.
Added test cases to verify the correctness of the new regex pattern.
https://en.wikipedia.org/wiki/Telephone_numbers_in_Cambodia#:~:text=For%20example%2C%20012%20123%204567,is%20used%20by%20some%20operators.&text=Calls%20made%20from%20outside%20Cambodia%20must%20omit%20the%20prefix%200.,-Therefore%2C%20to%20call

-Issue
#2589

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6f436be) to head (e72244d).
⚠️ Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2593   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2536      2536           
  Branches       642       642           
=========================================
  Hits          2536      2536           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@henrique73 henrique73 closed this by deleting the head repository Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant