/** * @param InputInterface $input * @param OutputInterface $output */ protected function execute(InputInterface $input, OutputInterface $output) { try { $configuration = new Configurator('phpstorm.yml'); $configuration->setUpProject(); } catch (ConfigurationException $e) { $output->writeln($e->getMessage()); } }
protected function execute(InputInterface $input, OutputInterface $output) { try { $configuration = new Configurator(self::PHPSTORM_YML_NAME); if ($configuration->setUpIndents()) { $output->writeln(self::SUCCESS_MESSAGE); } } catch (ConfigurationException $e) { $output->writeln($e->getMessage()); } }