mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 03:02:33 +01:00
24 lines
864 B
PHP
24 lines
864 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20210617;
|
|
|
|
use RectorPrefix20210617\Symplify\EasyTesting\HttpKernel\EasyTestingKernel;
|
|
use RectorPrefix20210617\Symplify\SymplifyKernel\ValueObject\KernelBootAndApplicationRun;
|
|
$possibleAutoloadPaths = [
|
|
// dependency
|
|
__DIR__ . '/../../../autoload.php',
|
|
// after split package
|
|
__DIR__ . '/../vendor/autoload.php',
|
|
// monorepo
|
|
__DIR__ . '/../../../vendor/autoload.php',
|
|
];
|
|
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) {
|
|
if (\file_exists($possibleAutoloadPath)) {
|
|
require_once $possibleAutoloadPath;
|
|
break;
|
|
}
|
|
}
|
|
$kernelBootAndApplicationRun = new \RectorPrefix20210617\Symplify\SymplifyKernel\ValueObject\KernelBootAndApplicationRun(\RectorPrefix20210617\Symplify\EasyTesting\HttpKernel\EasyTestingKernel::class);
|
|
$kernelBootAndApplicationRun->run();
|