Skip to content

Commit 23c2527

Browse files
committed
chore: remove TypedPropertyFromAssignsRector config
It is included in LevelSetList::UP_TO_PHP_74.
1 parent a319eb0 commit 23c2527

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

rector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;
4040
use Rector\Set\ValueObject\LevelSetList;
4141
use Rector\Set\ValueObject\SetList;
42-
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
4342

4443
return static function (RectorConfig $rectorConfig): void {
4544
$rectorConfig->sets([
@@ -135,11 +134,6 @@
135134
$rectorConfig->rule(MakeInheritedMethodVisibilitySameAsParentRector::class);
136135
$rectorConfig->rule(SimplifyEmptyArrayCheckRector::class);
137136
$rectorConfig->rule(NormalizeNamespaceByPSR4ComposerAutoloadRector::class);
138-
$rectorConfig
139-
->ruleWithConfiguration(TypedPropertyFromAssignsRector::class, [
140-
// Set to false if you use in libraries, or it does create breaking changes.
141-
TypedPropertyFromAssignsRector::INLINE_PUBLIC => false,
142-
]);
143137
$rectorConfig->rule(StringClassNameToClassConstantRector::class);
144138
$rectorConfig->rule(PrivatizeFinalClassPropertyRector::class);
145139
$rectorConfig->rule(CompleteDynamicPropertiesRector::class);

0 commit comments

Comments
 (0)