| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public static function beams( |
||
| 35 | int $subjectLength = 50, |
||
| 36 | int $bodyLineLength = 72, |
||
| 37 | bool $checkImperativeBeginningOnly = false |
||
| 38 | 4 | ): array { |
|
| 39 | 4 | return [ |
|
| 40 | 4 | new Rule\CapitalizeSubject(), |
|
| 41 | 4 | new Rule\LimitSubjectLength($subjectLength), |
|
| 42 | 4 | new Rule\NoPeriodOnSubjectEnd(), |
|
| 43 | 4 | new Rule\UseImperativeMood($checkImperativeBeginningOnly), |
|
| 44 | new Rule\LimitBodyLineLength($bodyLineLength), |
||
| 45 | new Rule\SeparateSubjectFromBodyWithBlankLine() |
||
| 46 | ]; |
||
| 49 |