| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 17 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 43 | protected function execute(InputInterface $input, OutputInterface $output) | ||
| 44 |     { | ||
| 45 |         $target = $input->getArgument('project-root-dir'); | ||
| 46 |         if ($target === null) { | ||
| 47 |             $target = realpath('.'); | ||
| 48 | } | ||
| 49 | |||
| 50 | $target .= '/.idea/workspace.xml'; | ||
| 51 | |||
| 52 |         $composerExecutable = $input->getOption('composer-executable'); | ||
| 53 | |||
| 54 | $this->workspaceConfigurationHelper->configureComposer($target, $composerExecutable); | ||
| 55 | $this->workspaceConfigurationHelper->configureFileTemplateScheme($target); | ||
| 56 | $this->workspaceConfigurationHelper->setupPhpUnitRunConfiguration($target); | ||
| 57 | |||
| 58 |         $output->writeln('Restart PhpStorm instance for changes to take effect'); | ||
| 59 | } | ||
| 60 | } | ||
| 61 |