| Conditions | 4 |
| Paths | 2 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 33 | { |
||
| 34 | $table = new Table($output); |
||
| 35 | $table->setHeaders(['id', 'auto-detectable', 'validation']); |
||
| 36 | |||
| 37 | foreach ($this->importerRepository->getIds() as $importerId) { |
||
| 38 | $importer = $this->importerRepository->get($importerId); |
||
| 39 | |||
| 40 | $table->addRow([ |
||
| 41 | $importerId, |
||
| 42 | $this->importerRepository->hasPrecondition($importerId) ? 'Yes' : 'No', |
||
| 43 | ($importer->validation() instanceof DummyValidation) ? 'No' : 'Yes', |
||
| 44 | ]); |
||
| 45 | } |
||
| 46 | |||
| 47 | $table->render(); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |