Skip to content

Commit 83ec5a7

Browse files
committed
Print for PHP 8.0
1 parent 50e0c9d commit 83ec5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractor/extract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
$command = new class(
3030
$parser,
31-
new \PhpParser\PrettyPrinter\Standard()
31+
new \PhpParser\PrettyPrinter\Standard(['phpVersion' => \PhpParser\PhpVersion::fromComponents(8, 0)])
3232
) extends Command {
3333

3434
/** @var \PhpParser\Parser */

0 commit comments

Comments
 (0)