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:
@@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user