File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Rector \Config \RectorConfig ;
6- use Rector \PHPUnit \Set \PHPUnitSetList ;
7- use Rector \Set \ValueObject \LevelSetList ;
86use Rector \Set \ValueObject \SetList ;
97
108return RectorConfig::configure ()
1311 __DIR__ . '/../../bin ' ,
1412 __DIR__ . '/../../src ' ,
1513 __DIR__ . '/../../tests ' ,
16- ]
14+ ],
15+ )
16+ ->withComposerBased (
17+ phpunit: true ,
1718 )
1819 ->withSets ([
19- // Rector sets
20-
21- LevelSetList::UP_TO_PHP_72 ,
22-
2320 // SetList::CODE_QUALITY,
2421 // SetList::CODING_STYLE,
2522 // SetList::DEAD_CODE,
2825 // SetList::NAMING,
2926 // SetList::PRIVATIZATION,
3027 SetList::TYPE_DECLARATION ,
31-
32- // PHPUnit sets
33-
34- PHPUnitSetList::PHPUNIT_80 ,
35- // PHPUnitSetList::PHPUNIT_CODE_QUALITY,
3628 ])
3729 ->withImportNames (true , true , false );
Original file line number Diff line number Diff line change 3535 "phpstan/phpstan-strict-rules" : " 1.6.2 || 2.0.12" ,
3636 "phpunit/phpunit" : " 8.5.53" ,
3737 "rawr/phpunit-data-provider" : " 3.3.1" ,
38- "rector/rector" : " 1.2.10 || 2.6.1 " ,
38+ "rector/rector" : " 1.2.10 || 2.6.2 " ,
3939 "rector/type-perfect" : " 1.0.0 || 2.1.4" ,
4040 "squizlabs/php_codesniffer" : " 4.0.4" ,
4141 "thecodingmachine/phpstan-safe-rule" : " 1.2.0 || 1.4.7"
You can’t perform that action at this time.
0 commit comments