mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-10 01:07:45 +01:00
Raised minimum PHP version to 8.1 (#19879)
This commit is contained in:
@@ -23,7 +23,7 @@ abstract class BaseMessageControllerTest extends TestCase
|
||||
protected $configFileName = '';
|
||||
protected $language = 'en';
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->mockApplication();
|
||||
$this->sourcePath = Yii::getAlias('@yiiunit/runtime/test_source');
|
||||
@@ -47,7 +47,7 @@ abstract class BaseMessageControllerTest extends TestCase
|
||||
return $this->configFileName;
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
public function tearDown(): void
|
||||
{
|
||||
FileHelper::removeDirectory($this->sourcePath);
|
||||
if (file_exists($this->configFileName)) {
|
||||
|
||||
Reference in New Issue
Block a user