From 1777e190f06a99753472b02e5d83681f4083c6e3 Mon Sep 17 00:00:00 2001 From: Florent Morselli <florent.morselli@spomky-labs.com> Date: Sat, 10 Dec 2022 19:33:44 +0100 Subject: [PATCH] Update: Rector --- composer.json | 2 +- rector.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 30db972..080df37 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5.26", "qossmic/deptrac-shim": "^1.0", - "rector/rector": "^0.14", + "rector/rector": "^0.15", "symfony/phpunit-bridge": "^6.1", "symplify/easy-coding-standard": "^11.0" }, diff --git a/rector.php b/rector.php index a90482a..d781ad4 100644 --- a/rector.php +++ b/rector.php @@ -20,7 +20,6 @@ return static function (RectorConfig $config): void { SymfonyLevelSetList::UP_TO_SYMFONY_54, SymfonySetList::SYMFONY_CODE_QUALITY, SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION, - SymfonySetList::SYMFONY_STRICT, DoctrineSetList::DOCTRINE_CODE_QUALITY, DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES, PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD, @@ -30,7 +29,6 @@ return static function (RectorConfig $config): void { PHPUnitSetList::REMOVE_MOCKS, PHPUnitSetList::PHPUNIT_YIELD_DATA_PROVIDER, ]); - $config->services()->set(TypedPropertyRector::class); $config->parallel(); $config->paths([__DIR__ . '/src']); $config->phpVersion(PhpVersion::PHP_81); -- GitLab