mirror of https://github.com/rectorphp/rector.git
Remove SmartFileInfo registration in bootstrap.php (#2589)
This commit is contained in:
parent
250bcbbd2f
commit
87b3ad56dd
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue