Skip to content

Commit ad76530

Browse files
committed
Update Rector for PHPUnit level set list
1 parent c0f4c53 commit ad76530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Template/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
3131
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
3232
use Rector\Php74\Rector\Property\TypedPropertyRector;
33-
use Rector\PHPUnit\Set\PHPUnitSetList;
33+
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
3434
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;
3535
use Rector\Set\ValueObject\LevelSetList;
3636
use Rector\Set\ValueObject\SetList;
3737

3838
return static function (RectorConfig $rectorConfig): void {
39-
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD, PHPUnitSetList::PHPUNIT_80]);
39+
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD, PHPUnitLevelSetList::UP_TO_PHPUNIT_100]);
4040
$rectorConfig->parallel();
4141
// The paths to refactor (can also be supplied with CLI arguments)
4242
$rectorConfig->paths([

0 commit comments

Comments
 (0)