mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix CS lib/classes
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
@@ -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;
|
||||
|
||||
/**
|
||||
|
@@ -39,7 +39,6 @@ class module_console_schedulerStop extends Command
|
||||
|
||||
return 0;
|
||||
} catch (\Exception $e) {
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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');
|
||||
|
@@ -114,4 +114,3 @@ class module_console_taskState extends Command
|
||||
return $exitCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -95,7 +95,6 @@ class module_console_taskrun extends Command
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($input->getOption('verbose')) {
|
||||
$this->container['monolog']->pushHandler(new StreamHandler('php://stdout'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user