1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16345] Small improvements

PHPBB3-16346
This commit is contained in:
rubencm
2020-06-07 02:15:35 +00:00
parent 3cceeb45bf
commit 774c609c4a
284 changed files with 1380 additions and 835 deletions

View File

@@ -24,6 +24,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
protected $command_name;
protected $db;
protected $config;
protected $user;
protected function setUp(): void
{

View File

@@ -20,7 +20,7 @@ class phpbb_console_command_config_test extends phpbb_test_case
protected $command_name;
protected $user;
public function setUp(): void
protected function setUp(): void
{
global $phpbb_root_path, $phpEx;

View File

@@ -32,7 +32,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml');
}
public function setUp(): void
protected function setUp(): void
{
global $db, $config, $phpbb_root_path, $phpEx;

View File

@@ -32,7 +32,7 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/thumbnail.xml');
}
public function setUp(): void
protected function setUp(): void
{
global $config, $phpbb_root_path, $phpEx, $phpbb_filesystem;

View File

@@ -21,7 +21,7 @@ class phpbb_console_user_activate_test extends phpbb_console_user_base
{
protected $notifications;
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
@@ -35,7 +35,6 @@ class phpbb_console_user_activate_test extends phpbb_console_user_base
$application = new Application();
$application->add(new activate(
$this->user,
$this->db,
$this->config,
$this->language,
$this->log,

View File

@@ -31,7 +31,7 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml');
}
public function setUp(): void
protected function setUp(): void
{
global $auth, $db, $cache, $config, $user, $phpbb_dispatcher, $phpbb_container, $phpbb_root_path, $phpEx;

View File

@@ -24,7 +24,6 @@ class phpbb_console_user_delete_test extends phpbb_console_user_base
$application = new Application();
$application->add(new delete(
$this->user,
$this->db,
$this->language,
$this->log,
$this->user_loader,