parameters(); $parameters->set('dataDir', __DIR__ . '/../build'); $parameters->set('buildDir', __DIR__ . '/../..'); $services = $containerConfigurator->services(); $services->defaults() ->public() ->autowire(); $services->load('Rector\Compiler\\', __DIR__ . '/../src') ->exclude([ __DIR__ . '/../src/Exception/*', __DIR__ . '/../src/DependencyInjection/*', __DIR__ . '/../src/HttpKernel/*', __DIR__ . '/../src/PhpScoper/*', ]); $services->set(SmartFileSystem::class); $services->set(CiDetector::class); };