| 1 | package JMAP::Validation::Checks::ContactInformation; | ||
| 2 | |||
| 3 | 1 | ▶ | use JMAP::Validation::Tests::ContactInformation; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use Test2::Bundle::Extended; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | our $is_ContactInformation_emails = array { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | filter_items { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 8 | 2 | grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_email($_) } @_ | |
| 9 | 1 | }; | |
| 10 | 1 | end(); | |
| 11 | 1 | }; | |
| 12 | |||
| 13 | 1 | ▶ | our $is_ContactInformation_phones = array { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 14 | 2 | ▶ | filter_items { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 15 | 2 | grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_phone($_) } @_ | |
| 16 | 1 | }; | |
| 17 | 1 | end(); | |
| 18 | 1 | }; | |
| 19 | |||
| 20 | 1 | ▶ | our $is_ContactInformation_online = array { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 21 | 2 | ▶ | filter_items { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 22 | 2 | grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_online($_) } @_ | |
| 23 | 1 | }; | |
| 24 | 1 | end(); | |
| 25 | 1 | }; | |
| 26 | |||
| 27 | 1 | 1; | |