diff --git a/compiler/src/Console/CompileCommand.php b/compiler/src/Console/CompileCommand.php index b988135557..e3546c4082 100644 --- a/compiler/src/Console/CompileCommand.php +++ b/compiler/src/Console/CompileCommand.php @@ -162,6 +162,7 @@ private function buildPreloadScript(): void } $output = ''; foreach ($finder->files()->name('*.php')->in([ + $this->buildDir . '/src', $vendorDir . '/nikic/php-parser/lib/PhpParser', $vendorDir . '/phpstan/phpdoc-parser/src', ]) as $phpFile) {