| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 8 | 7 | public function __construct(string $value)  | 
            |
| 9 |     { | 
            ||
| 10 | // valid formats can be found here: https://linkmobility.atlassian.net/wiki/spaces/COOL/pages/26017807/08.+Messages#id-08.Messages-recipients  | 
            ||
| 11 | 7 |         Assert::that($value)->regex('/^(\+|c)?[0-9]+$/i'); | 
            |
| 12 | |||
| 13 | 6 | parent::__construct($value);  | 
            |
| 14 | 6 | }  | 
            |
| 15 | }  | 
            ||
| 16 |