1 | <?php |
||
21 | class DoNotEndTheSubjectLineWithAPeriodStatus implements Status |
||
22 | { |
||
23 | /** |
||
24 | * Get the importance of this status. |
||
25 | * |
||
26 | * The lower the value the less important it is, the higher the more important. |
||
27 | * |
||
28 | * @return int |
||
29 | */ |
||
30 | public function getWeight(): int |
||
34 | |||
35 | /** |
||
36 | * A human readable message that describes this state. |
||
37 | * |
||
38 | * This will be displayed to the user via the GitHub state |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getMessage(): string |
||
46 | |||
47 | /** |
||
48 | * Is true if the status is one that should not be taken as indicative of a incorrectly formatted message. |
||
49 | * |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function isPositive(): bool |
||
56 | |||
57 | /** |
||
58 | * Get a URL with further explanation about this commit message status. |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getDetailsUrl(): string |
||
66 | } |
||
67 |