1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 20:24:08 +02:00

[ticket/16549] PHPUnit function declarations tiny cleanup

PHPBB3-16549
This commit is contained in:
rxu
2020-07-15 15:11:20 +07:00
parent 7323e4467b
commit 4c4debf004
120 changed files with 127 additions and 127 deletions

View File

@@ -38,7 +38,7 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
);
}
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
// Get session here so that config is mocked correctly
@@ -60,7 +60,7 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
);
}
public function tearDown(): void
protected function tearDown(): void
{
parent::tearDown();
// Set cache back to what it was before the test changed it

View File

@@ -22,7 +22,7 @@ class phpbb_session_garbage_collection_test extends phpbb_session_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/sessions_garbage.xml');
}
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
$this->session = $this->session_factory->get_session($this->db);