mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/17535] Convert config files, make data providers static
PHPBB-17535
This commit is contained in:
@@ -68,7 +68,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
$phpbb_container->setParameter('tables.user_notifications', 'phpbb_user_notifications');
|
||||
}
|
||||
|
||||
public function first_last_post_data()
|
||||
public static function first_last_post_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -227,7 +227,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
public function report_attachment_data()
|
||||
public static function report_attachment_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -311,7 +311,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
public function delete_data()
|
||||
public static function delete_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -397,7 +397,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
public function delete_user_id_data()
|
||||
public static function delete_user_id_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
|
@@ -20,7 +20,7 @@ class phpbb_functions_user_group_user_attributes_test extends phpbb_database_tes
|
||||
return $this->createXMLDataSet(__DIR__.'/fixtures/group_user_attributes.xml');
|
||||
}
|
||||
|
||||
public function group_user_attributes_data()
|
||||
public static function group_user_attributes_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
|
@@ -30,7 +30,7 @@ class phpbb_functions_user_whois_test extends phpbb_test_case
|
||||
->getMock();
|
||||
}
|
||||
|
||||
public function ips_data()
|
||||
public static function ips_data()
|
||||
{
|
||||
return [
|
||||
['2001:4860:4860::8888'], // Google public DNS
|
||||
|
Reference in New Issue
Block a user