Skip to content

Commit 6f5a21f

Browse files
committed
add non update rules
1 parent 7629127 commit 6f5a21f

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

rector.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,24 @@
22

33
declare(strict_types=1);
44

5+
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
56
use Rector\Config\RectorConfig;
7+
use Rector\Php83\Rector\BooleanAnd\JsonValidateRector;
8+
use Rector\Php83\Rector\Class_\ReadOnlyAnonymousClassRector;
9+
use Rector\Php83\Rector\FuncCall\CombineHostPortLdapUriRector;
10+
use Rector\Php83\Rector\FuncCall\DynamicClassConstFetchRector;
11+
use Rector\Php83\Rector\FuncCall\RemoveGetClassGetParentClassNoArgsRector;
612

713
return RectorConfig::configure()
814
->withPaths([
915
__DIR__ . '/src',
1016
__DIR__ . '/tests',
1117
])
1218
->withRules([
13-
\Rector\Php83\Rector\ClassConst\AddTypeToConstRector::class,
14-
\Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector::class,
19+
CompleteDynamicPropertiesRector::class,
20+
DynamicClassConstFetchRector::class,
21+
CombineHostPortLdapUriRector::class,
22+
RemoveGetClassGetParentClassNoArgsRector::class,
23+
JsonValidateRector::class,
24+
ReadOnlyAnonymousClassRector::class
1525
]);

0 commit comments

Comments
 (0)