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 | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public static function getDefault(): self |
||
| 44 | { |
||
| 45 | $templates = new self(); |
||
| 46 | $templates->regular[0] = new Template(); |
||
| 47 | $templates->regular[0]->message = '{{placeholder}} must be valid'; |
||
| 48 | $templates->inverted[0] = new Template(); |
||
| 49 | $templates->inverted[0]->message = '{{placeholder}} must not be valid'; |
||
| 50 | |||
| 51 | return $templates; |
||
| 52 | } |
||
| 53 | } |
||
| 54 |