1
0
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:
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

@@ -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,