| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 3 | public static function getStates() |
|
| 23 | 3 | { |
|
| 24 | return [self::STATUS_FINISHED_SUCCESS => ['label' => 'Finished: SUCCESS', 'color' => 'green'], |
||
| 25 | self::STATUS_FINISHED_ERROR => ['label' => 'Finished: ERROR', 'color' => 'red'], |
||
| 26 | self::STATUS_FINISHED_EXPIRED => ['label' => 'Finished: EXPIRED', 'color' => 'orange'], |
||
| 27 | self::STATUS_FINISHED_STALLED => ['label' => 'Finished: STALLED', 'color' => 'gold'], |
||
| 28 | self::STATUS_INSERT => ['label' => 'INSERT', 'color' => 'purple'], |
||
| 29 | self::STATUS_INSERT_DELAYED => ['label' => 'INSERT (Delayed)', 'color' => 'navy'], ]; |
||
| 30 | } |
||
| 64 |