mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix tests on PHP 5.4
This commit is contained in:
@@ -85,7 +85,7 @@ class module_console_systemConfigCheck extends Command
|
||||
return (int) ! $ok;
|
||||
}
|
||||
|
||||
protected function processConstraints(Setup_ConstraintsIterator $constraints, OutputInterface &$output)
|
||||
protected function processConstraints(Setup_ConstraintsIterator $constraints, OutputInterface $output)
|
||||
{
|
||||
$hasError = false;
|
||||
foreach ($constraints as $constraint) {
|
||||
@@ -97,7 +97,7 @@ class module_console_systemConfigCheck extends Command
|
||||
return ! $hasError;
|
||||
}
|
||||
|
||||
protected function processConstraint(Setup_Constraint $constraint, OutputInterface &$output)
|
||||
protected function processConstraint(Setup_Constraint $constraint, OutputInterface $output)
|
||||
{
|
||||
$ok = true;
|
||||
if ($constraint->is_ok()) {
|
||||
|
@@ -64,7 +64,7 @@ class module_console_tasklist extends Command
|
||||
}
|
||||
}
|
||||
|
||||
protected function printTask(task_abstract $task, OutputInterface &$output)
|
||||
protected function printTask(task_abstract $task, OutputInterface $output)
|
||||
{
|
||||
$message = $task->getID() . "\t" . ($task->getState() ) . "\t" . $task->getTitle();
|
||||
$output->writeln($message);
|
||||
|
Reference in New Issue
Block a user