mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
update set names
This commit is contained in:
parent
8f9e234b4a
commit
4f8985a30f
@ -2,9 +2,9 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
use Rector\PHPUnit\Set\PHPUnitSetList;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$containerConfigurator->import(SetList::PHPUNIT_60);
|
||||
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_60);
|
||||
};
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\PHPUnit\Set\PHPUnitSetList;
|
||||
use Rector\Renaming\Rector\Name\RenameClassRector;
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$containerConfigurator->import(SetList::PHPUNIT_60);
|
||||
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_60);
|
||||
|
||||
$services = $containerConfigurator->services();
|
||||
$services->set(RenameClassRector::class)
|
||||
|
@ -2,10 +2,11 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
use Rector\PHPUnit\Set\PHPUnitSetList;
|
||||
use Rector\Symfony\Set\TwigSetList;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$containerConfigurator->import(SetList::PHPUNIT_60);
|
||||
$containerConfigurator->import(SetList::TWIG_20);
|
||||
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_60);
|
||||
$containerConfigurator->import(TwigSetList::TWIG_20);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user