From b3383e289499bcc21a1f8134832fae37fcb691b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6rner?= Date: Fri, 25 Oct 2024 10:20:28 +0200 Subject: [PATCH] prepared 3.9.3 --- CHANGELOG.md | 4 ++++ tools/rector/rector.php | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99e8515..9c68793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [3.9.3] - 2024-10-25 +- Fixed: warning +- Changed: code quality adjustments + ## [3.9.2] - 2024-06-05 - Fixed: php8 warning: Undefined variable $request diff --git a/tools/rector/rector.php b/tools/rector/rector.php index da0480b..9d402c3 100644 --- a/tools/rector/rector.php +++ b/tools/rector/rector.php @@ -9,20 +9,18 @@ use Rector\Set\ValueObject\SetList; use Rector\Symfony\Set\SymfonySetList; use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; +use Rector\TypeDeclaration\Rector\Property\AddPropertyTypeDeclarationRector; return RectorConfig::configure() ->withPaths([ __DIR__ . '/../../src', ]) - // uncomment to reach your current PHP version - // ->withPhpSets() ->withImportNames(true, true,false, true) -// ->withCodeQualityLevel() ->withRules([ AddVoidReturnTypeWhereNoReturnRector::class, -// \Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector::class, ]) ->withSets([ +// SetList::TYPE_DECLARATION, SetList::PHP_74, LevelSetList::UP_TO_PHP_74, SymfonySetList::SYMFONY_44,