Skip to content

Commit 50fcd30

Browse files
committed
Require Symfony polyfill in the preload script
1 parent 3e54103 commit 50fcd30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/src/Console/CompileCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ private function buildPreloadScript(): void
207207
$output .= 'require_once __DIR__ . ' . var_export($path, true) . ';' . "\n";
208208
}
209209

210+
$output .= 'require_once __DIR__ . ' . var_export('/vendor/symfony/polyfill-php80/Php80.php', true) . ';' . "\n";
211+
210212
file_put_contents($preloadScript, sprintf($template, $output));
211213
}
212214

0 commit comments

Comments
 (0)