Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | private function extendApplication(Application $application, $defaultConfigFile) |
||
35 | { |
||
36 | if (file_exists($defaultConfigFile)) { |
||
37 | $fixCommand = $application->find('fix'); |
||
38 | /* @var InputOption $configFile */ |
||
39 | $definition = $fixCommand->getDefinition(); |
||
40 | $options = $definition->getOptions(); |
||
41 | $options['config-file']->setDefault(realpath($defaultConfigFile)); |
||
42 | } |
||
43 | } |
||
44 | } |
||
45 |