update set names

This commit is contained in:
TomasVotruba 2021-05-06 22:36:00 +02:00
parent 8f9e234b4a
commit 4f8985a30f
3 changed files with 8 additions and 7 deletions

View File

@ -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);
};

View File

@ -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)

View File

@ -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);
};