Skip to content

Commit 2a258a5

Browse files
committed
update rector config
1 parent 7c2109a commit 2a258a5

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

rector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Rector\Config\RectorConfig;
2020
use Rector\Core\ValueObject\PhpVersion;
2121
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
22-
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
2322
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
2423
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
2524
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
@@ -79,11 +78,6 @@
7978
// Note: requires php 8
8079
RemoveUnusedPromotedPropertyRector::class,
8180

82-
// Ignore tests that might make calls without a result
83-
RemoveEmptyMethodCallRector::class => [
84-
__DIR__ . '/tests',
85-
],
86-
8781
// May load view files directly when detecting classes
8882
StringClassNameToClassConstantRector::class,
8983

src/Template/rector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Rector\Config\RectorConfig;
2020
use Rector\Core\ValueObject\PhpVersion;
2121
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
22-
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
2322
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
2423
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
2524
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
@@ -80,11 +79,6 @@
8079
// Note: requires php 8
8180
RemoveUnusedPromotedPropertyRector::class,
8281

83-
// Ignore tests that might make calls without a result
84-
RemoveEmptyMethodCallRector::class => [
85-
__DIR__ . '/tests',
86-
],
87-
8882
// May load view files directly when detecting classes
8983
StringClassNameToClassConstantRector::class,
9084

0 commit comments

Comments
 (0)