Skip to content

Commit 94c7f08

Browse files
committed
chore: skip rector bug
1 parent 8f0ac00 commit 94c7f08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rector.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
use Rector\Config\RectorConfig;
3434
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
3535
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
36+
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
3637
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3738
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
3839
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
@@ -95,6 +96,11 @@
9596
JsonThrowOnErrorRector::class,
9697
YieldDataProviderRector::class,
9798

99+
RemoveUnusedPromotedPropertyRector::class => [
100+
// Bug in rector 1.0.0. See https://github.com/rectorphp/rector-src/pull/5573
101+
__DIR__ . '/tests/_support/Entity/CustomUser.php',
102+
],
103+
98104
RemoveUnusedPrivateMethodRector::class => [
99105
// private method called via getPrivateMethodInvoker
100106
__DIR__ . '/tests/system/Test/ReflectionHelperTest.php',

0 commit comments

Comments
 (0)