| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Output extends ConsoleOutput |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Config |
||
| 23 | */ |
||
| 24 | private $config; |
||
| 25 | |||
| 26 | public function __construct(Config $config) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function write($messages, $newline = false, $options = \Symfony\Component\Console\Output\Output::OUTPUT_NORMAL): void |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Strip long filename to be shorter. |
||
| 43 | * |
||
| 44 | * @param string $messages |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | private function stripFileName(string $messages): string |
||
| 53 |