mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
9200bbb091
9d74e20acb
[Dep] Add PHPUnit\Framework\TestCase stub on target-repository bootstrap.php (#1924)
16 lines
810 B
PHP
16 lines
810 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220312;
|
|
|
|
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
|
|
use Rector\Php53\Rector\Ternary\TernaryToElvisRector;
|
|
use Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
|
$services = $containerConfigurator->services();
|
|
$services->set(\Rector\Php53\Rector\Ternary\TernaryToElvisRector::class);
|
|
$services->set(\Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector::class);
|
|
$services->set(\Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector::class);
|
|
};
|