Skip to content

Commit ddd2317

Browse files
committed
test: fix deprecated code in PHP 8.3
1 parent 4364573 commit ddd2317

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/CLI/CLITest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,13 @@ public function testWindow(): void
438438
{
439439
$height = new ReflectionProperty(CLI::class, 'height');
440440
$height->setAccessible(true);
441-
$height->setValue(null);
441+
$height->setValue(null, null);
442442

443443
$this->assertIsInt(CLI::getHeight());
444444

445445
$width = new ReflectionProperty(CLI::class, 'width');
446446
$width->setAccessible(true);
447-
$width->setValue(null);
447+
$width->setValue(null, null);
448448

449449
$this->assertIsInt(CLI::getWidth());
450450
}

0 commit comments

Comments
 (0)