1 | <?php |
||
16 | class DoNotEndTheSubjectLineWithAPeriodStatus implements Status |
||
17 | { |
||
18 | /** |
||
19 | * Get the importance of this status. |
||
20 | * |
||
21 | * The lower the value the less important it is, the higher the more important. |
||
22 | * |
||
23 | * @return int |
||
24 | */ |
||
25 | public function getWeight() : int |
||
29 | |||
30 | /** |
||
31 | * A human readable message that describes this state |
||
32 | * |
||
33 | * This will be displayed to the user via the GitHub state |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getMessage() : string |
||
41 | |||
42 | /** |
||
43 | * Is true if the status on GitHub would be success |
||
44 | * |
||
45 | * @return boolean |
||
46 | */ |
||
47 | public function isPositive() : bool |
||
51 | |||
52 | /** |
||
53 | * The GitHub equivalent of this state |
||
54 | * |
||
55 | * Can be one of pending, success, error, or failure. |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getState() : string |
||
63 | |||
64 | /** |
||
65 | * Get a URL with further explanation about this commit message status |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getDetailsUrl() : string |
||
73 | } |
||
74 |