Skip to content

Commit

Permalink
Rector: Re-enable AddTypeToConstRector rule
Browse files Browse the repository at this point in the history
Now that phpcs supports typed consts since we upgraded to v3.9
we can use this rule again.
  • Loading branch information
philbates35 committed Feb 23, 2024
1 parent fc7b4fc commit 13d0155
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
]);

0 comments on commit 13d0155

Please sign in to comment.