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 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 31 | { |
||
| 32 | $output->writeln('<info>Types compilation starts</info>'); |
||
| 33 | $classes = $this->typeGenerator->compile(TypeGenerator::MODE_WRITE | TypeGenerator::MODE_OVERRIDE); |
||
| 34 | $output->writeln('<info>Types compilation ends successfully</info>'); |
||
| 35 | if ($output->getVerbosity() >= Output::VERBOSITY_VERBOSE) { |
||
| 36 | $io = new SymfonyStyle($input, $output); |
||
| 37 | $io->title('Summary'); |
||
| 38 | $rows = []; |
||
| 39 | foreach ($classes as $class => $path) { |
||
| 40 | $rows[] = [$class, $path]; |
||
| 41 | } |
||
| 42 | $io->table(['class', 'path'], $rows); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | } |
||
| 46 |