Raise version min PHP 7.3.

This commit is contained in:
Wilmer Arambula
2024-03-20 17:27:20 -03:00
parent e2a167028b
commit ce813e5060
189 changed files with 1901 additions and 1586 deletions

View File

@ -22,7 +22,7 @@ use yiiunit\TestCase;
*/
class UrlTest extends TestCase
{
protected function setUp()
protected function setUp(): void
{
parent::setUp();
$this->mockApplication([
@ -47,7 +47,7 @@ class UrlTest extends TestCase
], '\yii\web\Application');
}
protected function tearDown()
protected function tearDown(): void
{
Yii::$app->getSession()->removeAll();
parent::tearDown();
@ -268,7 +268,7 @@ class UrlTest extends TestCase
['label' => 'Test', 'url' => ['/site/page', 'view' => 'about']],
],
]);
$this->assertRegExp('~<a href="/site/page.html\?view=about">~', $output);
$this->assertMatchesRegularExpression('~<a href="/site/page.html\?view=about">~', $output);
}
public function testBase()