diff --git a/build/target-repository/bootstrap.php b/build/target-repository/bootstrap.php index 2e46abf997c..6b0dbd8fb18 100644 --- a/build/target-repository/bootstrap.php +++ b/build/target-repository/bootstrap.php @@ -23,4 +23,12 @@ spl_autoload_register(function (string $class): void { $composerAutoloader->loadClass($class); } } + + // aliased by php-scoper, that's why its missing + if ($class === 'Symplify\SmartFileSystem\SmartFileInfo') { + $filePath = __DIR__ . '/vendor/symplify/smart-file-system/src/SmartFileInfo.php'; + if (file_exists($filePath)) { + require $filePath; + } + } });