Conditions | 4 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | private function printErrorMessage(InputInterface $input, OutputInterface $output): void |
||
53 | { |
||
54 | if ('text' !== $input->getOption('format') && '' === (string) $input->getOption('output')) { |
||
55 | return; |
||
56 | } |
||
57 | |||
58 | $output = $output instanceof ConsoleOutputInterface |
||
59 | ? $output->getErrorOutput() |
||
60 | : $output; |
||
61 | $output->writeln('<error>Max score is over the threshold</>'); |
||
62 | } |
||
64 |