Skip to content

Commit 087fb89

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Template/rector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
3232
use Rector\Php74\Rector\Property\TypedPropertyRector;
3333
use Rector\PHPUnit\Set\PHPUnitSetList;
34+
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
3435
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;
3536
use Rector\Set\ValueObject\LevelSetList;
3637
use Rector\Set\ValueObject\SetList;
3738

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

0 commit comments

Comments
 (0)