aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/console/command/cron/cron_list.php2
-rw-r--r--tests/console/cron/cron_list_test.php10
2 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/phpbb/console/command/cron/cron_list.php b/phpBB/phpbb/console/command/cron/cron_list.php
index c933bc6d69..9d9a3bdef7 100644
--- a/phpBB/phpbb/console/command/cron/cron_list.php
+++ b/phpBB/phpbb/console/command/cron/cron_list.php
@@ -80,7 +80,7 @@ class cron_list extends \phpbb\console\command\command
}
}
- public function print_tasks_names ($tasks, $output)
+ public function print_tasks_names($tasks, $output)
{
foreach ($tasks as $task)
{
diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php
index 32b7c792e8..ad74f17875 100644
--- a/tests/console/cron/cron_list_test.php
+++ b/tests/console/cron/cron_list_test.php
@@ -38,25 +38,25 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
public function test_no_task()
{
- $this->initiate_test(0,0);
+ $this->initiate_test(0, 0);
$this->assertContains('NO_TASK', $this->command_tester->getDisplay());
}
public function test_only_ready()
{
- $this->initiate_test(2,0);
+ $this->initiate_test(2, 0);
$this->assertContains('TASKS_READY command1 command2', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
public function test_only_not_ready()
{
- $this->initiate_test(0,2);
+ $this->initiate_test(0, 2);
$this->assertContains('TASKS_NOT_READY command1 command2', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
public function test_both_ready()
{
- $this->initiate_test(2,2);
+ $this->initiate_test(2, 2);
$this->assertSame('TASKS_READY command1 command2 TASKS_NOT_READY command3 command4', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
@@ -82,7 +82,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
return new CommandTester($command);
}
- public function initiate_test ($number_ready, $number_not_ready)
+ public function initiate_test($number_ready, $number_not_ready)
{
$tasks = array();