| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CliFormatter |
||
| 11 | { |
||
| 12 | public const COLOR_BLACK = 30; |
||
| 13 | public const COLOR_BLUE = 34; |
||
| 14 | public const COLOR_GREEN = 32; |
||
| 15 | public const COLOR_CYAN = 36; |
||
| 16 | public const COLOR_RED = 31; |
||
| 17 | public const COLOR_PURPLE = 35; |
||
| 18 | public const COLOR_BROWN = 33; |
||
| 19 | public const COLOR_LIGHT_GRAY = 37; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $message |
||
| 23 | * @param int|null $color |
||
| 24 | */ |
||
| 25 | public static function output(string $message, int $color = null): void |
||
| 39 | } |