Skip to content

Commit 64b2bdc

Browse files
committed
refactor(coding-style): Remove unused Rectors
- Remove AddArrayDefaultToArrayPropertyRector - Remove UnSpreadOperatorRector
1 parent e72b7be commit 64b2bdc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

rector.php

-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
use Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector;
1919
use Rector\CodeQuality\Rector\LogicalAnd\LogicalToBooleanRector;
2020
use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
21-
use Rector\CodingStyle\Rector\Class_\AddArrayDefaultToArrayPropertyRector;
22-
use Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector;
2321
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
2422
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
2523
use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
@@ -79,7 +77,6 @@
7977

8078
$rectorConfig->skip([
8179
// rules
82-
// AddArrayDefaultToArrayPropertyRector::class,
8380
// CallableThisArrayToAnonymousFunctionRector::class,
8481
// ChangeAndIfToEarlyReturnRector::class,
8582
// ExplicitBoolCompareRector::class,
@@ -88,7 +85,6 @@
8885
// ReturnBinaryOrToEarlyReturnRector::class,
8986
// SimplifyBoolIdenticalTrueRector::class,
9087
// StaticClosureRector::class,
91-
// UnSpreadOperatorRector::class,
9288

9389
EncapsedStringsToSprintfRector::class,
9490
// InlineIfToExplicitIfRector::class,
@@ -118,9 +114,6 @@
118114
// ReturnEarlyIfVariableRector::class => [
119115
// __DIR__.'/src/Support/EscapeArg.php',
120116
// ],
121-
// UnSpreadOperatorRector::class => [
122-
// __DIR__.'/src/Concerns/WithDumpable.php',
123-
// ],
124117

125118
// paths
126119
__DIR__.'/tests/AspectMock',

0 commit comments

Comments
 (0)