Skip to content

Commit

Permalink
Add 'setUp(): void' declaration for PhpUnit 9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimjustus committed Oct 19, 2020
1 parent 4893496 commit 57bc927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Test/Integration/Model/BlockInstaller/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
*/
protected $getFirstBlockByBlockEntry;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand All @@ -67,7 +67,7 @@ protected function setUp()
->create(GetFirstBlockByBlockEntry::class);
}

protected function tearDown()
protected function tearDown(): void
{
parent::tearDown();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class InstallMediaFilesTest extends TestCase
*/
protected $fileSystem;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion Test/Integration/Model/PageInstaller/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function setUp(): void
->create(GetFirstPageByPageEntry::class);
}

protected function tearDown()
protected function tearDown(): void
{
parent::tearDown();

Expand Down

0 comments on commit 57bc927

Please sign in to comment.