bump versions and set php83 as new target
This commit is contained in:
parent
f30fbd3758
commit
8c90c27762
6 changed files with 34 additions and 29 deletions
config
|
@ -43,9 +43,9 @@ use Rector\TypeDeclaration\Rector\FunctionLike\AddParamTypeSplFixedArrayRector;
|
|||
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
|
||||
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector;
|
||||
|
||||
return static function (RectorConfig $c): void {
|
||||
$c->sets([LevelSetList::UP_TO_PHP_82]);
|
||||
$c->rules([
|
||||
return RectorConfig::configure()
|
||||
->withSets([LevelSetList::UP_TO_PHP_83])
|
||||
->withRules([
|
||||
AddArrowFunctionReturnTypeRector::class,
|
||||
AddMethodCallBasedStrictParamTypeRector::class,
|
||||
AddParamTypeFromPropertyTypeRector::class,
|
||||
|
@ -86,5 +86,5 @@ return static function (RectorConfig $c): void {
|
|||
ThrowWithPreviousExceptionRector::class,
|
||||
TypedPropertyFromStrictConstructorRector::class,
|
||||
RemoveAlwaysElseRector::class,
|
||||
]);
|
||||
};
|
||||
])
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue