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