From 99ebf4b8ddb53c796247fda7993f8999ceb16816 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 4 Jun 2014 21:08:11 +0200 Subject: [PATCH] [ticket/12655] Fix coding style in \phpbb\console\application PHPBB3-12655 --- phpBB/phpbb/console/application.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/phpBB/phpbb/console/application.php b/phpBB/phpbb/console/application.php index eb8094e65f..99fb5fbe97 100644 --- a/phpBB/phpbb/console/application.php +++ b/phpBB/phpbb/console/application.php @@ -31,7 +31,12 @@ class application extends \Symfony\Component\Console\Application { parent::__construct($name, $version); - $this->getDefinition()->addOption(new InputOption('--shell', '-s', InputOption::VALUE_NONE, $user->lang('CLI_DESCRIPTION_OPTION_SHELL'))); + $this->getDefinition()->addOption(new InputOption( + '--shell', + '-s', + InputOption::VALUE_NONE, + $user->lang('CLI_DESCRIPTION_OPTION_SHELL') + )); } /** @@ -53,7 +58,8 @@ class application extends \Symfony\Component\Console\Application */ public function doRun(InputInterface $input, OutputInterface $output) { - if ($input->hasParameterOption(array('--shell', '-s')) === true) { + if ($input->hasParameterOption(array('--shell', '-s')) === true) + { $shell = new Shell($this); $shell->run();