| 1 | <?php |
||
| 14 | class LimitTheBodyWrapLengthTo72CharactersStatus 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 | * The GitHub equivalent of this state |
||
| 30 | * |
||
| 31 | * Can be one of pending, success, error, or failure. |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getState() : string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * A human readable message that describes this state |
||
| 42 | * |
||
| 43 | * This will be displayed to the user via the GitHub state |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getMessage() :string |
||
| 51 | } |
||
| 52 |