From 13d0155a831d72598d4b2c39ed8c63503dc9a9f2 Mon Sep 17 00:00:00 2001 From: Phil Bates Date: Fri, 23 Feb 2024 20:49:07 +0000 Subject: [PATCH] Rector: Re-enable AddTypeToConstRector rule Now that phpcs supports typed consts since we upgraded to v3.9 we can use this rule again. --- rector.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rector.php b/rector.php index 7dc8a32..550faf0 100644 --- a/rector.php +++ b/rector.php @@ -3,7 +3,6 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use Rector\Php83\Rector\ClassConst\AddTypeToConstRector; use Rector\PHPUnit\Set\PHPUnitSetList; use RectorLaravel\Set\LaravelSetList; @@ -49,8 +48,4 @@ ]) ->withSkip([ __DIR__ . '/bootstrap/cache', - - // TODO Stop skipping this rule as soon as phpcs supports typed const - // See: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/106 - AddTypeToConstRector::class, ]);