Fix CS lib/classes

This commit is contained in:
Romain Neutron
2013-01-29 16:39:02 +01:00
parent 53206af159
commit 4414892b91
108 changed files with 178 additions and 249 deletions

View File

@@ -14,7 +14,6 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Core\Service\Builder;
/**

View File

@@ -14,7 +14,6 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Alchemy\Phrasea\Command\Command;
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Core\Service\Builder;
/**

View File

@@ -39,7 +39,6 @@ class module_console_schedulerStop extends Command
return 0;
} catch (\Exception $e) {
return 1;
}

View File

@@ -98,7 +98,7 @@ class module_console_systemExport extends Command
$export_directory = realpath(substr($directory, 0, 1) === '/' ? $directory : getcwd() . '/' . $directory . '/');
if ( ! $export_directory) {
if (! $export_directory) {
throw new Exception('Export directory does not exists or is not accessible');
}
@@ -147,7 +147,7 @@ class module_console_systemExport extends Command
}
}
if ( ! $go) {
if (! $go) {
$output->writeln(sprintf("Collections not selected, bypassing ..."));
continue;
}

View File

@@ -62,7 +62,7 @@ class module_console_systemMailCheck extends Command
{
$is_stopped = false;
while ( ! $is_stopped) {
while (! $is_stopped) {
$this->write_infos($email, $users, $output, $appbox);
$dialog = $this->getHelperSet()->get('dialog');

View File

@@ -114,4 +114,3 @@ class module_console_taskState extends Command
return $exitCode;
}
}

View File

@@ -95,7 +95,6 @@ class module_console_taskrun extends Command
}
}
if ($input->getOption('verbose')) {
$this->container['monolog']->pushHandler(new StreamHandler('php://stdout'));
}