1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13740] Fix CS and docblocks

PHPBB3-13740
This commit is contained in:
Mate Bartus
2015-07-21 14:42:15 +02:00
parent 0488c49116
commit b2b9fb1df2
10 changed files with 36 additions and 62 deletions

View File

@@ -110,13 +110,15 @@ class install extends \phpbb\console\command\command
if ($this->install_helper->is_phpbb_installed())
{
$iohandler->add_error_message('PHPBB_ALREADY_INSTALLED');
return 1;
}
if (!is_file($config_file))
{
$iohandler->add_error_message(array('MISSING_FILE', array($config_file)));
return;
return 1;
}
try
@@ -127,7 +129,7 @@ class install extends \phpbb\console\command\command
{
$iohandler->add_error_message('INVALID_YAML_FILE');
return;
return 1;
}
$processor = new Processor();
@@ -141,7 +143,7 @@ class install extends \phpbb\console\command\command
{
$iohandler->add_error_message('INVALID_CONFIGURATION', $e->getMessage());
return;
return 1;
}
$this->register_configuration($iohandler, $config);
@@ -153,7 +155,7 @@ class install extends \phpbb\console\command\command
catch (installer_exception $e)
{
$iohandler->add_error_message($e->getMessage());
return;
return 1;
}
}