Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
31 | 3 | public static function beams(int $subjectLength = 50, int $bodyLineLength = 72) : array |
|
32 | { |
||
33 | return [ |
||
34 | 3 | new Rule\CapitalizeSubject(), |
|
35 | 3 | new Rule\LimitSubjectLength($subjectLength), |
|
36 | 3 | new Rule\NoPeriodOnSubjectEnd(), |
|
37 | 3 | new Rule\UseImperativeMood(), |
|
38 | 3 | new Rule\LimitBodyLineLength($bodyLineLength), |
|
39 | 3 | new Rule\SeparateSubjectFromBodyWithBlankLine() |
|
40 | ]; |
||
41 | } |
||
42 | } |
||
43 |