1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Command;
4:
5: /** @api */
6: interface OutputStyle
7: {
8:
9: public function title(string $message): void;
10:
11: public function section(string $message): void;
12:
13: /**
14: * @param string[] $elements
15: */
16: public function listing(array $elements): void;
17:
18: public function success(string $message): void;
19:
20: public function error(string $message): void;
21:
22: public function warning(string $message): void;
23:
24: public function note(string $message): void;
25:
26: public function caution(string $message): void;
27:
28: /**
29: * @param mixed[] $headers
30: * @param mixed[] $rows
31: */
32: public function table(array $headers, array $rows): void;
33:
34: public function newLine(int $count = 1): void;
35:
36: public function progressStart(int $max = 0): void;
37:
38: public function progressAdvance(int $step = 1): void;
39:
40: public function progressFinish(): void;
41:
42: }
43: