1
0
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:
Marc Alexander
2018-12-30 11:36:08 +01:00
parent 8e78d829b1
commit c6cc6ba8d8
194 changed files with 281 additions and 266 deletions

View File

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

View File

@@ -13,7 +13,7 @@
class phpbb_security_hash_test extends phpbb_test_case
{
public function setUp()
public function setUp(): void
{
global $phpbb_container;

View File

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