1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +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

@@ -24,7 +24,7 @@ class phpbb_textreparser_post_text_test extends phpbb_textreparser_test_row_base
return new \phpbb\textreparser\plugins\post_text($this->db, POSTS_TABLE);
}
public function data_reparse_url(): array
public static function data_reparse_url(): array
{
return [
[ // Reparse the same

View File

@@ -85,7 +85,7 @@ abstract class phpbb_textreparser_test_row_based_plugin extends phpbb_database_t
$this->assertEquals($expected, $this->get_rows($ids));
}
public function get_reparse_tests()
public static function get_reparse_tests()
{
return array(
array(