Skip to content

Commit

Permalink
Add function applyRectorDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell authored Oct 23, 2023
1 parent 131f6dd commit 8cd1080
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rector.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand All @@ -10,7 +8,7 @@
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;

return static function (RectorConfig $rectorConfig): void {
public static function applyRectorDefaults(RectorConfig $rectorConfig) {
$rectorConfig->skip([
__DIR__ . '/vendor',

Expand Down

0 comments on commit 8cd1080

Please sign in to comment.