From 3907599c0975c3182c0209952c7ce426635076be Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 13 Nov 2024 11:30:00 +0100 Subject: [PATCH] Rector rules update --- templates/project/rector.php.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/project/rector.php.twig b/templates/project/rector.php.twig index 60d76877c..e4393dfac 100644 --- a/templates/project/rector.php.twig +++ b/templates/project/rector.php.twig @@ -19,6 +19,7 @@ declare(strict_types=1); use Rector\Config\RectorConfig; use Rector\Php70\Rector\FunctionLike\ExceptionHandlerTypehintRector; +use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\LevelSetList; @@ -40,5 +41,6 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->skip([ ExceptionHandlerTypehintRector::class, PreferPHPUnitThisCallRector::class, + NarrowUnusedSetUpDefinedPropertyRector::class, ]); };