| 1 | <?php |
||
| 15 | class PreviousFailureStatus implements Status |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Get the importance of this status. |
||
| 19 | * |
||
| 20 | * The lower the value the less important it is, the higher the more important. |
||
| 21 | * |
||
| 22 | * @return int |
||
| 23 | */ |
||
| 24 | public function getWeight() : int |
||
| 28 | |||
| 29 | /** |
||
| 30 | * A human readable message that describes this state |
||
| 31 | * |
||
| 32 | * This will be displayed to the user via the GitHub state |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getMessage() : string |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Is true if the status on GitHub would be success |
||
| 43 | * |
||
| 44 | * @return boolean |
||
| 45 | */ |
||
| 46 | public function isPositive() : bool |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get a URL with further explanation about this commit message status |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getDetailsUrl() : string |
||
| 60 | } |
||
| 61 |