| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function getMessageValidator() : ValidateMessage |
||
| 22 | { |
||
| 23 | $messageValidator = new ValidateMessageImplementation( |
||
| 24 | [ |
||
| 25 | new CapitalizeTheSubjectLineValidator(), |
||
| 26 | new DoNotEndTheSubjectLineWithAPeriodValidator(), |
||
| 27 | new LimitTheBodyWrapLengthTo72CharactersValidator(), |
||
| 28 | new LimitTheTitleLengthTo69CharactersValidator(), |
||
| 29 | new SeparateSubjectFromBodyWithABlankLineValidator(), |
||
| 30 | new SoftLimitTheTitleLengthTo50CharactersValidator(), |
||
| 31 | ] |
||
| 32 | ); |
||
| 33 | |||
| 34 | return $messageValidator; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |