mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 11:10:18 +02:00
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
This commit is contained in:
@@ -18,7 +18,7 @@ abstract class phpbb_security_test_base extends phpbb_test_case
|
||||
/**
|
||||
* Set up the required user object and server variables for the suites
|
||||
*/
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $user, $phpbb_root_path, $phpEx, $request, $symfony_request, $phpbb_filesystem;
|
||||
|
||||
@@ -60,7 +60,7 @@ abstract class phpbb_security_test_base extends phpbb_test_case
|
||||
$user->page = \phpbb\session::extract_current_page($phpbb_root_path);
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
global $user;
|
||||
$user = NULL;
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
class phpbb_security_hash_test extends phpbb_test_case
|
||||
{
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $phpbb_container;
|
||||
|
||||
|
@@ -74,7 +74,7 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
|
||||
return $this->path_helper;
|
||||
}
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $phpbb_dispatcher;
|
||||
|
||||
|
Reference in New Issue
Block a user