1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/17535] Convert config files, make data providers static

PHPBB-17535
This commit is contained in:
rxu
2025-07-16 17:36:45 +07:00
parent d7db296eab
commit 8a99024087
199 changed files with 879 additions and 852 deletions

View File

@@ -77,7 +77,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -101,7 +101,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(
@@ -137,7 +137,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(

View File

@@ -60,7 +60,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(
@@ -96,7 +96,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -180,7 +180,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(

View File

@@ -78,7 +78,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -132,7 +132,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(
@@ -175,7 +175,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(

View File

@@ -51,7 +51,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(
@@ -118,7 +118,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -172,7 +172,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(

View File

@@ -56,7 +56,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -243,7 +243,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(
@@ -298,7 +298,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(

View File

@@ -59,7 +59,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
);
}
public function validate_profile_field_data()
public static function validate_profile_field_data()
{
return array(
array(
@@ -152,7 +152,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function profile_value_raw_data()
public static function profile_value_raw_data()
{
return array(
array(
@@ -184,7 +184,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
);
}
public function profile_value_data()
public static function profile_value_data()
{
return array(
array(