Skip to content

Commit 920945c

Browse files
committed
update rector template to use PHP 8.1 as minimum version
1 parent e781de8 commit 920945c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Template/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
return static function (RectorConfig $rectorConfig): void {
4848
$rectorConfig->sets([
4949
SetList::DEAD_CODE,
50-
LevelSetList::UP_TO_PHP_74,
50+
LevelSetList::UP_TO_PHP_81,
5151
PHPUnitSetList::PHPUNIT_CODE_QUALITY,
5252
PHPUnitSetList::PHPUNIT_100,
5353
]);
@@ -81,7 +81,7 @@
8181
}
8282

8383
// Set the target version for refactoring
84-
$rectorConfig->phpVersion(PhpVersion::PHP_74);
84+
$rectorConfig->phpVersion(PhpVersion::PHP_81);
8585

8686
// Auto-import fully qualified class names
8787
$rectorConfig->importNames();

0 commit comments

Comments
 (0)