We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 805512b commit f287b39Copy full SHA for f287b39
tests/HighlighterTest.php
@@ -19,7 +19,7 @@ public function testHighlightCode()
19
20
public function testHighlightFile()
21
{
22
- $code = Highlighter::for(__DIR__ . '/../example.php')->highlight();
+ $code = (string) Highlighter::for(__DIR__ . '/../example.php');
23
24
$this->assertSame(\file_get_contents(__DIR__ . '/example.phps'), $code);
25
}
0 commit comments