mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Raise version min PHP 7.3.
This commit is contained in:
@ -64,7 +64,7 @@ abstract class DbTargetTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$databases = static::getParam('databases');
|
||||
@ -78,7 +78,7 @@ abstract class DbTargetTest extends TestCase
|
||||
static::runConsoleAction('migrate/up', ['migrationPath' => '@yii/log/migrations/', 'interactive' => false]);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::getConnection()->createCommand()->truncateTable(self::$logTable)->execute();
|
||||
static::runConsoleAction('migrate/down', ['migrationPath' => '@yii/log/migrations/', 'interactive' => false]);
|
||||
|
||||
Reference in New Issue
Block a user