Remove SmartFileInfo registration in bootstrap.php (#2589)

This commit is contained in:
Abdul Malik Ikhsan 2022-06-29 18:47:35 +07:00 committed by GitHub
parent 250bcbbd2f
commit 87b3ad56dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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;
}
}
});