diff options
Diffstat (limited to 'tests/phpunit/includes/filerepo/file/FileTest.php')
-rw-r--r-- | tests/phpunit/includes/filerepo/file/FileTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/filerepo/file/FileTest.php b/tests/phpunit/includes/filerepo/file/FileTest.php index 6d8ac700c677..8e0da2ea592d 100644 --- a/tests/phpunit/includes/filerepo/file/FileTest.php +++ b/tests/phpunit/includes/filerepo/file/FileTest.php @@ -477,7 +477,7 @@ class FileTest extends MediaWikiMediaTestCase { * @covers File::getHandlerState */ public function testSetHandlerState() { - $obj = new stdClass; + $obj = (object)[]; $file = new class extends File { public function __construct() { } |