commit vendor
This commit is contained in:
40
vendor/laminas/laminas-i18n/src/Validator/PhoneNumber/DE.php
vendored
Normal file
40
vendor/laminas/laminas-i18n/src/Validator/PhoneNumber/DE.php
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-i18n for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-i18n/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-i18n/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
return [
|
||||
'code' => '49',
|
||||
'patterns' => [
|
||||
'national' => [
|
||||
'general' => '/^(?:[1-35-9]\\d{3,14}|4(?:[0-8]\\d{4,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,7}))$/',
|
||||
'fixed' => '/^(?:[246]\\d{5,13}|3(?:[03-9]\\d{4,13}|2\\d{9})|5(?:0[2-8]|[1256]\\d|[38][0-8]|4\\d{0,2}|[79][0-7])\\d{3,11}|7(?:0[2-8]|[1-9]\\d)\\d{3,10}|8(?:0[2-9]|[1-9]\\d)\\d{3,10}|9(?:0[6-9]|[1-9]\\d)\\d{3,10})$/',
|
||||
'mobile' => '/^1(?:5[0-2579]\\d{8}|6[023]\\d{7,8}|7(?:[0-57-9]\\d?|6\\d)\\d{7})$/',
|
||||
'pager' => '/^16(?:4\\d{1,10}|[89]\\d{1,11})$/',
|
||||
'tollfree' => '/^800\\d{7,10}$/',
|
||||
'premium' => '/^900(?:[135]\\d{6}|9\\d{7})$/',
|
||||
'shared' => '/^180\\d{5,11}$/',
|
||||
'personal' => '/^700\\d{8}$/',
|
||||
'uan' => '/^18(?:1\\d{5,11}|[2-9]\\d{8})$/',
|
||||
'voicemail' => '/^17799\\d{7,8}$/',
|
||||
'shortcode' => '/^115$/',
|
||||
'emergency' => '/^11[02]$/',
|
||||
],
|
||||
'possible' => [
|
||||
'general' => '/^\\d{2,15}$/',
|
||||
'mobile' => '/^\\d{10,11}$/',
|
||||
'pager' => '/^\\d{4,14}$/',
|
||||
'tollfree' => '/^\\d{10,13}$/',
|
||||
'premium' => '/^\\d{10,11}$/',
|
||||
'shared' => '/^\\d{8,14}$/',
|
||||
'personal' => '/^\\d{11}$/',
|
||||
'uan' => '/^\\d{8,14}$/',
|
||||
'voicemail' => '/^\\d{12,13}$/',
|
||||
'shortcode' => '/^\\d{3}$/',
|
||||
'emergency' => '/^\\d{3}$/',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user