mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 10:08:08 +08:00
Raise version min PHP 7.3.
This commit is contained in:
@ -20,7 +20,7 @@ use yiiunit\TestCase;
|
||||
*/
|
||||
class ModelTest extends TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->mockApplication();
|
||||
@ -502,11 +502,6 @@ class ModelTest extends TestCase
|
||||
|
||||
public function testFormNameWithAnonymousClass()
|
||||
{
|
||||
if (PHP_VERSION_ID < 70000) {
|
||||
$this->markTestSkipped('Can not be tested on PHP < 7.0');
|
||||
return;
|
||||
}
|
||||
|
||||
$model = require __DIR__ . '/stub/AnonymousModelClass.php';
|
||||
|
||||
$this->expectException('yii\base\InvalidConfigException');
|
||||
|
||||
Reference in New Issue
Block a user