Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phone_number
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
phone_number
Merge requests
!8
Issue
#3376601
: Use validation functions from the libphonenumber library
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3376601
: Use validation functions from the libphonenumber library
issue/phone_number-3376601:'3376601-use-validation-functions'
into
2.0.x
Overview
4
Commits
3
Pipelines
1
Changes
2
All threads resolved!
Hide all comments
Open
Abhishek Singh
requested to merge
issue/phone_number-3376601:'3376601-use-validation-functions'
into
2.0.x
1 year ago
Overview
4
Commits
3
Pipelines
1
Changes
2
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
2.0.x
version 5
324ba25c
1 year ago
version 4
08d8e5c1
1 year ago
version 3
08d8e5c1
1 year ago
version 2
477f3d7e
1 year ago
version 1
1ed0e703
1 year ago
2.0.x (HEAD)
and
latest version
latest version
3e63b1b3
3 commits,
1 year ago
version 5
324ba25c
3 commits,
1 year ago
version 4
08d8e5c1
3 commits,
1 year ago
version 3
08d8e5c1
3 commits,
1 year ago
version 2
477f3d7e
2 commits,
1 year ago
version 1
1ed0e703
1 commit,
1 year ago
2 files
+
14
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Plugin/Validation/Constraint/PhoneNumberConstraint.php
+
6
−
0
Options
@@ -40,6 +40,12 @@ class PhoneNumberConstraint extends Constraint {
*/
public
$allowedCountry
=
'The country @value provided for @field_name is not an allowed country.'
;
/**
* The invalid number message.
*
* @var string
*/
public
$invalidNumber
=
'The @field_name @value is not a valid phone number.'
;
/**
* {@inheritdoc}
*/
Loading