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

@ -38,7 +38,7 @@ class UserTest extends TestCase
*/
public static $time;
protected function tearDown()
protected function tearDown(): void
{
Yii::$app->session->removeAll();
static::$time = null;
@ -404,7 +404,7 @@ class UserTest extends TestCase
public function testGetIdentityException()
{
$session = $this->getMock('yii\web\Session');
$session = $this->getMockBuilder(\yii\web\Session::class)->getMock();
$session->method('getHasSessionId')->willReturn(true);
$session->method('get')->with($this->equalTo('__id'))->willReturn('1');