mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/17176] Fix some PHP 8.x deprecations and clean up test code
PHPBB3-17176
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
|
||||
class phpbb_passwords_helper_test extends \phpbb_test_case
|
||||
{
|
||||
/** @var array */
|
||||
protected $passwords_drivers = [];
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
// Prepare dependencies for drivers
|
||||
@@ -21,7 +24,7 @@ class phpbb_passwords_helper_test extends \phpbb_test_case
|
||||
$this->driver_helper = new \phpbb\passwords\driver\helper($config);
|
||||
$phpbb_root_path = __DIR__ . '/../../phpBB/';
|
||||
$php_ext = 'php';
|
||||
|
||||
|
||||
// Initialize argon2 default options
|
||||
$this->argon2_default_cost_options = [
|
||||
'memory_cost' => 65536,
|
||||
|
Reference in New Issue
Block a user