mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Tests > setUp() and tearDown() methods > make compatible with PHPUnit 8.0 (and PHP 7.2+)
This commit is contained in:
@@ -1470,7 +1470,7 @@ class MiscellaneousTest extends BaseTestCase
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
@@ -1483,7 +1483,7 @@ class MiscellaneousTest extends BaseTestCase
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
unset($this->stringSmall, $this->stringCommaSeparated, $this->stringDotSeparated, $this->stringWithoutSpaces);
|
||||
|
||||
Reference in New Issue
Block a user