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'));
}

View File

@@ -77,7 +77,7 @@ class module_report_activity extends module_report
{
$hours = array();
for ($i = 0; $i < 24; $i ++ ) {
for ($i = 0; $i < 24; $i ++) {
array_push($this->display, $i);
$hours[$i] = 0;
}
@@ -362,7 +362,6 @@ class module_report_activity extends module_report
{
$this->title = _('report:: telechargements par jour');
$s = new module_report_sql($this->app, $this);
$filter = $s->getFilters();
$conn = $s->getConnBas();

View File

@@ -174,4 +174,3 @@ class module_report_connexion extends module_report
return (int) $row['nb'];
}
}

View File

@@ -180,7 +180,7 @@ class module_report_dashboard implements module_report_dashboard_componentInterf
*/
protected function getPlotLegendDay($dmin, $dmax = false)
{
if ( ! $dmax) {
if (! $dmax) {
$date = new Datetime();
$dmax = $date->format('d-m-Y');
} else {

View File

@@ -237,4 +237,3 @@ class module_report_dashboard_feed implements module_report_dashboard_componentI
}
}
}

View File

@@ -94,4 +94,3 @@ class module_report_dashboard_group implements module_report_dashboard_component
return new module_report_dashboard_merge($this);
}
}

View File

@@ -205,4 +205,3 @@ class module_report_dashboard_merge implements module_report_dashboard_component
return new module_report_dashboard_sort($this);
}
}

View File

@@ -158,4 +158,3 @@ class module_report_dashboard_sort implements module_report_dashboard_componentI
return $tmp;
}
}

View File

@@ -272,4 +272,3 @@ class module_report_download extends module_report
return $array;
}
}

View File

@@ -127,4 +127,3 @@ class module_report_edit extends module_report
}
}
}

View File

@@ -130,4 +130,3 @@ class module_report_push extends module_report
}
}
}

View File

@@ -109,4 +109,3 @@ class module_report_question extends module_report
}
}
}

View File

@@ -15,7 +15,7 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
interface module_report_sqlReportinterface
interface module_report_sqlReportInterface
{
public function buildSql();

View File

@@ -258,4 +258,3 @@ class module_report_sqlfilter
return;
}
}

View File

@@ -103,4 +103,3 @@ class module_report_sqlquestion extends module_report_sql implements module_repo
return array('sql' => $sql, 'params' => $params);
}
}

View File

@@ -130,4 +130,3 @@ class module_report_validate extends module_report
}
}
}