From 87b3ad56dd568ad4c17daafdca20c5aa865e2108 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 29 Jun 2022 18:47:35 +0700 Subject: [PATCH] Remove SmartFileInfo registration in bootstrap.php (#2589) --- build/target-repository/bootstrap.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build/target-repository/bootstrap.php b/build/target-repository/bootstrap.php index 6b0dbd8fb18..2e46abf997c 100644 --- a/build/target-repository/bootstrap.php +++ b/build/target-repository/bootstrap.php @@ -23,12 +23,4 @@ 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; - } - } });