Skip to content

Commit fe9db94

Browse files
committed
Fix test for PHP 5.4
The class keyword was only introduced in PHP 5.5.
1 parent f083a69 commit fe9db94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Mf2/CombinedMicroformatsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function testEmptyPropertiesObjectInJSONMode() {
425425
$input = '<div class="h-feed"><div class="h-entry"></div></div>';
426426
$parser = new Parser($input, null, true);
427427
$output = $parser->parse();
428-
$this->assertInstanceOf(\stdClass::class, $output['items'][0]['properties']);
428+
$this->assertInstanceOf('\stdClass', $output['items'][0]['properties']);
429429
$this->assertSame('{}', json_encode($output['items'][0]['properties']));
430430
}
431431

0 commit comments

Comments
 (0)