|
5 | 5 | use dokuwiki\test\rector\DokuWikiPtlnRector; |
6 | 6 | use dokuwiki\test\rector\DokuWikiRenamePrintToEcho; |
7 | 7 | use Rector\Caching\ValueObject\Storage\FileCacheStorage; |
8 | | -use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector; |
9 | 8 | use Rector\CodeQuality\Rector\Concat\JoinStringConcatRector; |
10 | 9 | use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector; |
11 | 10 | use Rector\CodeQuality\Rector\If_\CombineIfRector; |
|
15 | 14 | use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector; |
16 | 15 | use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector; |
17 | 16 | use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector; |
18 | | -use Rector\CodingStyle\Rector\Closure\StaticClosureRector; |
19 | 17 | use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector; |
20 | 18 | use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector; |
21 | 19 | use Rector\CodingStyle\Rector\FuncCall\StrictArraySearchRector; |
22 | | -use Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector; |
23 | 20 | use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector; |
24 | 21 | use Rector\CodingStyle\Rector\String_\SymplifyQuoteEscapeRector; |
25 | 22 | use Rector\Config\RectorConfig; |
|
41 | 38 | use Rector\Set\ValueObject\SetList; |
42 | 39 | use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector; |
43 | 40 | use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector; |
44 | | -use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector; |
45 | 41 |
|
46 | 42 | return static function (RectorConfig $rectorConfig): void { |
47 | 43 | // FIXME we may want to autoload these later |
|
115 | 111 | SymplifyQuoteEscapeRector::class, |
116 | 112 | CatchExceptionNameMatchingTypeRector::class, |
117 | 113 | EncapsedStringsToSprintfRector::class, |
118 | | - CallableThisArrayToAnonymousFunctionRector::class, |
119 | | - StaticClosureRector::class, |
120 | 114 | SimplifyUselessVariableRector::class, // seems to strip constructor property initializations |
121 | | - PostIncDecToPreIncDecRector::class, |
122 | 115 | DisallowedEmptyRuleFixerRector::class, |
123 | 116 | RemoveParentCallWithoutParentRector::class, |
124 | 117 | WrapEncapsedVariableInCurlyBracesRector::class, |
125 | 118 | SimplifyIfReturnBoolRector::class, |
126 | 119 | StrictArraySearchRector::class, // we cannot assume strict search is always wanted |
127 | | - TypedPropertyFromAssignsRector::class, // maybe? |
128 | 120 | JoinStringConcatRector::class, // this does not count variables, so it creates overlong lines |
129 | 121 | RemoveExtraParametersRector::class, // this actually broke code |
130 | 122 | RemoveUnusedConstructorParamRector::class, // see rectorphp/rector#8580 |
|
0 commit comments