2019-12-08 18:01:29 +01:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
2020-02-27 12:29:22 +01:00
|
|
|
use Rector\Compiler\Console\RectorCompilerConsoleApplication;
|
2020-05-20 12:57:32 +02:00
|
|
|
use Rector\Compiler\DependencyInjection\ContainerFactory;
|
2019-12-08 18:01:29 +01:00
|
|
|
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
|
2020-02-27 12:29:22 +01:00
|
|
|
$containerFactory = new ContainerFactory();
|
|
|
|
$container = $containerFactory->create();
|
|
|
|
|
|
|
|
/** @var RectorCompilerConsoleApplication $application */
|
|
|
|
$application = $container->get(RectorCompilerConsoleApplication::class);
|
|
|
|
exit($application->run());
|