Skip to content

Commit

Permalink
skip rule ClosureToArrowFunctionRector
Browse files Browse the repository at this point in the history
  • Loading branch information
hosmelq committed Aug 15, 2023
1 parent fe67786 commit fa40843
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\TypeDeclaration\Rector\ClassMethod\StrictArrayParamDimFetchRector;
Expand All @@ -27,6 +28,7 @@
]);

$config->skip([
ClosureToArrowFunctionRector::class,
// Disable this rule for now, as it's causing issues with the Laravel
// service providers type-hinting $app as array.
StrictArrayParamDimFetchRector::class => [
Expand Down

0 comments on commit fa40843

Please sign in to comment.