1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/17176] Fix some PHP 8.x deprecations and clean up test code

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-09-09 19:47:45 +02:00
parent 20a2ee2682
commit 9fbe00dd45
12 changed files with 67 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
$class = new ReflectionClass('\phpbb\avatar\manager');
$enabled_drivers = $class->getProperty('enabled_drivers');
$enabled_drivers->setAccessible(true);
$enabled_drivers->setValue(false);
$enabled_drivers->setValue($class, false);
$this->template_path = $this->test_path . '/templates';