Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
30 | { |
||
31 | 1 | $metaArray = Analyzer\Factory::getPassesMetadata(); |
|
32 | |||
33 | 1 | $output->writeln("# Analyzers"); |
|
34 | 1 | $output->writeln("This doc gives an overview about what the different analyzers do."); |
|
35 | 1 | $output->writeln(""); |
|
36 | |||
37 | 1 | foreach ($metaArray as $analyzer) { |
|
38 | 1 | $output->writeln("#### " . $analyzer->getName()); |
|
39 | 1 | $output->writeln(""); |
|
40 | 1 | $output->writeln($analyzer->getDescription()); |
|
41 | 1 | $output->writeln(""); |
|
42 | 1 | } |
|
43 | |||
44 | 1 | $output->writeln("Next: [How To: Write own Analyzer](./06_HowTo_Own_Analyzer.md)"); |
|
45 | 1 | } |
|
46 | } |
||
47 |