mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
hotfix
This commit is contained in:
parent
10eb78e3db
commit
fd1ce45afb
|
@ -28,4 +28,11 @@ spl_autoload_register(function (string $class): void {
|
||||||
require $filePath;
|
require $filePath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($class === 'Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator') {
|
||||||
|
// avoid duplicated autoload bug in Rector demo runner
|
||||||
|
if (class_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user