We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | 73 | protected function getPregFormat()  | 
            |
| 17 |     { | 
            ||
| 18 | 73 | return $this->replaceParams(  | 
            |
| 19 | 73 |             '/^\+?({part1})? ?(?(?=\()(\({part2}\) ?{part3})|([. -]?({part2}[. -]*)?{part3}))$/', | 
            |
| 20 | [  | 
            ||
| 21 | 73 |                 'part1' => '\d{0,3}', | 
            |
| 22 |                 'part2' => '\d{1,3}', | 
            ||
| 23 |                 'part3' => '((\d{3,5})[. -]?(\d{4})|(\d{2}[. -]?){4})', | 
            ||
| 24 | ]  | 
            ||
| 25 | );  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 38 |