File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 44
55use DrupalRector \Rector \PHPUnit \ShouldCallParentMethodsRector ;
66use Rector \Config \RectorConfig ;
7- use Rector \PHPUnit \Set \PHPUnitLevelSetList ;
8- use Rector \Symfony \Set \SymfonyLevelSetList ;
9- use Rector \Symfony \Set \TwigLevelSetList ;
7+ use Rector \PHPUnit \Set \PHPUnitSetList ;
8+ use Rector \Symfony \Set \SymfonySetList ;
9+ use Rector \Symfony \Set \TwigSetList ;
1010
1111return static function (RectorConfig $ rectorConfig ): void {
1212 $ rectorConfig ->sets ([
13- PHPUnitLevelSetList:: UP_TO_PHPUNIT_90 ,
14- SymfonyLevelSetList:: UP_TO_SYMFONY_62 ,
15- TwigLevelSetList:: UP_TO_TWIG_240 ,
13+ PHPUnitSetList:: PHPUNIT_90 ,
14+ SymfonySetList:: SYMFONY_62 ,
15+ TwigSetList:: TWIG_240 ,
1616 ]);
1717
1818 $ rectorConfig ->rule (ShouldCallParentMethodsRector::class);
Original file line number Diff line number Diff line change 88use DrupalRector \Rector \ValueObject \DrupalIntroducedVersionConfiguration ;
99use DrupalRector \Rector \ValueObject \FunctionToStaticConfiguration ;
1010use Rector \Config \RectorConfig ;
11- use Rector \Symfony \Set \SymfonyLevelSetList ;
11+ use Rector \Symfony \Set \SymfonySetList ;
1212
1313return static function (RectorConfig $ rectorConfig ): void {
1414 $ rectorConfig ->sets ([
15- SymfonyLevelSetList:: UP_TO_SYMFONY_63 ,
15+ SymfonySetList:: SYMFONY_63 ,
1616 ]);
1717
1818 // https://www.drupal.org/node/3244583
Original file line number Diff line number Diff line change 55use DrupalRector \Services \AddCommentService ;
66use DrupalRector \Set \Drupal9SetList ;
77use Rector \Config \RectorConfig ;
8- use Rector \PHPUnit \Set \PHPUnitLevelSetList ;
8+ use Rector \PHPUnit \Set \PHPUnitSetList ;
99
1010return static function (RectorConfig $ rectorConfig ): void {
1111 $ rectorConfig ->singleton (AddCommentService::class, function () {
1717 Drupal9SetList::DRUPAL_92 ,
1818 Drupal9SetList::DRUPAL_93 ,
1919 Drupal9SetList::DRUPAL_94 ,
20- PHPUnitLevelSetList:: UP_TO_PHPUNIT_90 ,
20+ PHPUnitSetList:: PHPUNIT_90 ,
2121 ]);
2222
2323 $ rectorConfig ->bootstrapFiles ([
You can’t perform that action at this time.
0 commit comments