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:
@@ -1998,7 +1998,7 @@ class RegexTest extends BaseTestCase
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
@@ -2010,7 +2010,7 @@ class RegexTest extends BaseTestCase
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
unset($this->simpleText, $this->camelCaseText);
|
||||
|
||||
Reference in New Issue
Block a user