| @@ 323-329 (lines=7) @@ | ||
| 320 | ||
| 321 | if ($verbosity >= OutputInterface::VERBOSITY_VERBOSE) { |
|
| 322 | $filename = str_pad(" {$i}: " . $file->getRelativePathname(), $maxColumns - 10, ' ', \STR_PAD_RIGHT); |
|
| 323 | if ($status === 'ok') { |
|
| 324 | $status = '<info>OK</info>'; |
|
| 325 | } elseif ($status === 'error') { |
|
| 326 | $status = '<error>Error</error>'; |
|
| 327 | } else { |
|
| 328 | $status = '<error>Warning</error>'; |
|
| 329 | } |
|
| 330 | ||
| 331 | $status = \str_pad($status, 20, ' ', \STR_PAD_RIGHT); |
|
| 332 | $output->writeln(\sprintf("%s\t%s\t%s", $filename, $status, $process)); |
|
| @@ 337-343 (lines=7) @@ | ||
| 334 | if ($i && 0 === $i % $maxColumns) { |
|
| 335 | $output->writeln($process); |
|
| 336 | } |
|
| 337 | if ($status === 'ok') { |
|
| 338 | $status = '<info>.</info>'; |
|
| 339 | } elseif ($status === 'error') { |
|
| 340 | $status = '<error>E</error>'; |
|
| 341 | } else { |
|
| 342 | $status = '<error>W</error>'; |
|
| 343 | } |
|
| 344 | ||
| 345 | $output->write($status); |
|
| 346 | } |
|