1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +02:00

[ticket/17535] Fix tests PHP deprecations and notices

PHPBB-17535
This commit is contained in:
rxu
2025-07-18 11:00:58 +07:00
parent 8a99024087
commit 902c99bc0c
36 changed files with 193 additions and 111 deletions

View File

@@ -21,7 +21,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
{
/** @var phpbb_notification_manager_helper */
protected $notifications;
protected $db, $container, $user, $config, $auth, $cache;
protected $db, $container, $user, $config, $auth, $cache, $user_loader, $phpbb_dispatcher;
protected function get_notification_types()
{

View File

@@ -14,7 +14,9 @@ require_once __DIR__ . '/../mock/sql_insert_buffer.php';
class phpbb_notification_convert_test extends phpbb_database_test_case
{
protected $notifications, $db, $doctrine_db, $container, $user, $config, $auth, $cache;
protected $db;
protected $doctrine_db;
protected $migration;
public function getDataSet()
{

View File

@@ -19,8 +19,7 @@ require_once __DIR__ . '/../../phpBB/includes/functions_posting.php';
abstract class phpbb_notification_submit_post_base extends phpbb_database_test_case
{
// protected $notifications, $db, $container, $user, $config, $auth, $cache;
protected $db;
protected $item_type = '';
protected $poll_data = array();