Skip to content

Commit 63710a1

Browse files
committed
rector - update config
1 parent 8d736ce commit 63710a1

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

rector.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@
4444
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
4545
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
4646
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
47-
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
4847
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector;
4948
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
50-
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertCountWithZeroToAssertEmptyRector;
5149
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertEmptyNullableObjectToAssertInstanceofRector;
5250
use Rector\PHPUnit\Set\PHPUnitSetList;
5351
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -135,15 +133,7 @@
135133
__DIR__ . '/src/Commands/Setup.php',
136134
],
137135

138-
// Ignore for some existing classes to prevent BC break
139-
NewInInitializerRector::class => [
140-
__DIR__ . '/src/Authentication/JWT/JWSEncoder.php',
141-
__DIR__ . '/src/Authentication/JWT/JWSDecoder.php',
142-
__DIR__ . '/src/Authentication/JWTManager.php',
143-
],
144-
145136
// Ignore some PHPUnit rules
146-
AssertCountWithZeroToAssertEmptyRector::class,
147137
AssertEmptyNullableObjectToAssertInstanceofRector::class,
148138
]);
149139

0 commit comments

Comments
 (0)