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 4
4
5
5
use DrupalRector \Rector \PHPUnit \ShouldCallParentMethodsRector ;
6
6
use 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 ;
10
10
11
11
return static function (RectorConfig $ rectorConfig ): void {
12
12
$ 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 ,
16
16
]);
17
17
18
18
$ rectorConfig ->rule (ShouldCallParentMethodsRector::class);
Original file line number Diff line number Diff line change 8
8
use DrupalRector \Rector \ValueObject \DrupalIntroducedVersionConfiguration ;
9
9
use DrupalRector \Rector \ValueObject \FunctionToStaticConfiguration ;
10
10
use Rector \Config \RectorConfig ;
11
- use Rector \Symfony \Set \SymfonyLevelSetList ;
11
+ use Rector \Symfony \Set \SymfonySetList ;
12
12
13
13
return static function (RectorConfig $ rectorConfig ): void {
14
14
$ rectorConfig ->sets ([
15
- SymfonyLevelSetList:: UP_TO_SYMFONY_63 ,
15
+ SymfonySetList:: SYMFONY_63 ,
16
16
]);
17
17
18
18
// https://www.drupal.org/node/3244583
Original file line number Diff line number Diff line change 5
5
use DrupalRector \Services \AddCommentService ;
6
6
use DrupalRector \Set \Drupal9SetList ;
7
7
use Rector \Config \RectorConfig ;
8
- use Rector \PHPUnit \Set \PHPUnitLevelSetList ;
8
+ use Rector \PHPUnit \Set \PHPUnitSetList ;
9
9
10
10
return static function (RectorConfig $ rectorConfig ): void {
11
11
$ rectorConfig ->singleton (AddCommentService::class, function () {
17
17
Drupal9SetList::DRUPAL_92 ,
18
18
Drupal9SetList::DRUPAL_93 ,
19
19
Drupal9SetList::DRUPAL_94 ,
20
- PHPUnitLevelSetList:: UP_TO_PHPUNIT_90 ,
20
+ PHPUnitSetList:: PHPUNIT_90 ,
21
21
]);
22
22
23
23
$ rectorConfig ->bootstrapFiles ([
You can’t perform that action at this time.
0 commit comments