Skip to content

Commit

Permalink
PHP 8.1 minimum version prep
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Mar 14, 2024
1 parent 5b06298 commit bbf62f2
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,42 +32,3 @@
\Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector::class,
\Rector\CodeQuality\Rector\If_\CompleteMissingIfElseBracketRector::class,
]);

//return static function (RectorConfig $rectorConfigurator): void {
//
// // get parameters
// //$parameters = $containerConfigurator->parameters();
//
// // Define what rule sets will be applied
//
// // here we can define, what sets of rules will be applied
// // tip: use "SetList" class to autocomplete sets
// $rectorConfigurator->import(SetList::PHP_52);
// $rectorConfigurator->import(SetList::PHP_53);
// $rectorConfigurator->import(SetList::PHP_54);
// $rectorConfigurator->import(SetList::PHP_55);
// $rectorConfigurator->import(SetList::PHP_56);
// $rectorConfigurator->import(SetList::PHP_70);
// $rectorConfigurator->import(SetList::PHP_71);
// $rectorConfigurator->import(SetList::PHP_72);
// $rectorConfigurator->import(SetList::PHP_73);
// $rectorConfigurator->import(SetList::PHP_74);
// $rectorConfigurator->import(SetList::PHP_80);
// $rectorConfigurator->import(SetList::PHP_81);
// $rectorConfigurator->import(SetList::CODE_QUALITY);
// $rectorConfigurator->import(SetList::CODING_STYLE);
// $rectorConfigurator->import(SetList::DEAD_CODE);
// $rectorConfigurator->import(SetList::TYPE_DECLARATION);
//
// $skipables = [
// \Rector\CodeQuality\Rector\If_\ShortenElseIfRector::class,
// \Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector::class,
// \Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class,
// \Rector\DeadCode\Rector\PropertyProperty\RemoveNullPropertyInitializationRector::class,
// \Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector::class,
// \Rector\CodeQuality\Rector\If_\CompleteMissingIfElseBracketRector::class,
// ];
//
// $rectorConfigurator->skip($skipables);
//};

0 comments on commit bbf62f2

Please sign in to comment.