Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
35 | { |
||
36 | 1 | $analyzerConfiguration = Analyzer\Factory::getPassesConfigurations(); |
|
|
|||
37 | 1 | $configuration = new Configuration([], $analyzerConfiguration); |
|
38 | 1 | $configTree = $configuration->getConfigTreeBuilder($analyzerConfiguration)->buildTree(); |
|
39 | |||
40 | 1 | $dumper = new YamlReferenceDumper(); |
|
41 | 1 | $output->writeln($dumper->dumpNode($configTree)); |
|
42 | 1 | } |
|
43 | } |
||
44 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.