Tests > setUp() and tearDown() methods > make compatible with PHPUnit 8.0 (and PHP 7.2+)

This commit is contained in:
Meritoo
2019-04-02 08:27:20 +02:00
parent e623c87268
commit 8b5a530bbc
9 changed files with 13 additions and 13 deletions

View File

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