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 |
||
| 36 | public static function getDefault(): self |
||
| 37 | { |
||
| 38 | $templates = new self(); |
||
| 39 | $templates->regular[0] = new Template(); |
||
| 40 | $templates->regular[0]->message = '{{placeholder}} must be valid'; |
||
| 41 | $templates->inverted[0] = new Template(); |
||
| 42 | $templates->inverted[0]->message = '{{placeholder}} must not be valid'; |
||
| 43 | |||
| 44 | return $templates; |
||
| 45 | } |
||
| 46 | } |
||
| 47 |