Skip to content

Commit f86244e

Browse files
committed
Use ::create() for the default output format
1 parent 1d7b87d commit f86244e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Functional/Comment/CommentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function renderWithDefaultOutputFormatRendersCommentEnclosedInCommentDeli
3636

3737
$subject->setComment($comment);
3838

39-
self::assertSame('/*' . $comment . '*/', $subject->render(new OutputFormat()));
39+
self::assertSame('/*' . $comment . '*/', $subject->render(OutputFormat::create()));
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)