We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
31 | { |
||
32 | 2 | $output->writeln('<info>Types compilation starts</info>'); |
|
33 | 2 | $classes = $this->typeGenerator->compile(TypeGenerator::MODE_WRITE | TypeGenerator::MODE_OVERRIDE); |
|
34 | 2 | $output->writeln('<info>Types compilation ends successfully</info>'); |
|
35 | 2 | if ($output->getVerbosity() >= Output::VERBOSITY_VERBOSE) { |
|
36 | 1 | $io = new SymfonyStyle($input, $output); |
|
37 | 1 | $io->title('Summary'); |
|
38 | 1 | $rows = []; |
|
39 | 1 | foreach ($classes as $class => $path) { |
|
40 | 1 | $rows[] = [$class, $path]; |
|
41 | } |
||
42 | 1 | $io->table(['class', 'path'], $rows); |
|
43 | } |
||
44 | 2 | } |
|
45 | } |
||
46 |