diff --git a/composer.json b/composer.json index ddc7d0ed681..228d9c0f1bf 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "license": "MIT", "homepage": "https://getrector.org", "require": { - "php": "^8.0", + "php": "^8.1", "ext-dom": "*", "ext-json": "*", "clue/ndjson-react": "^1.2", diff --git a/rector.php b/rector.php index 4839166492b..85653ca8abf 100644 --- a/rector.php +++ b/rector.php @@ -18,7 +18,7 @@ return static function (ContainerConfigurator $containerConfigurator): void { // include the latest PHP version + all bellow in one config! - $containerConfigurator->import(LevelSetList::UP_TO_PHP_80); + $containerConfigurator->import(LevelSetList::UP_TO_PHP_81); // include sets $containerConfigurator->import(SetList::CODING_STYLE);