1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-02-16 22:04:54 +01:00
TomasVotruba 764ce4bb08 init
2017-07-15 19:01:21 +02:00

19 lines
445 B
PHP

<?php declare(strict_types=1);
use Rector\DependencyInjection\ContainerFactory;
use Symfony\Component\Console\Application;
// Performance boost
gc_disable();
// Require Composer autoload.php
require_once __DIR__ . '/bootstrap.php';
// Build DI container
$container = (new ContainerFactory())->create();
// Run Console Application
/** @var Application $application */
$application = $container->get(Application::class);
$application->run();