|
39 | 39 | use Rector\TypeDeclaration\Rector\Closure\ClosureReturnTypeRector; |
40 | 40 | use Rector\TypeDeclaration\Rector\Function_\AddFunctionVoidReturnTypeWhereNoReturnRector; |
41 | 41 | use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector; |
42 | | -use Rector\TypeDeclaration\Rector\StmtsAwareInterface\DeclareStrictTypesRector; |
43 | 42 | use Rector\TypeDeclaration\Rector\StmtsAwareInterface\SafeDeclareStrictTypesRector; |
44 | 43 | use Utils\Rector\PassStrictParameterToFunctionParameterRector; |
45 | 44 | use Utils\Rector\RemoveErrorSuppressInTryCatchStmtsRector; |
|
110 | 109 | __DIR__ . '/tests/_support/Entity/CustomUser.php', |
111 | 110 | ], |
112 | 111 |
|
113 | | - DeclareStrictTypesRector::class => [ |
114 | | - __DIR__ . '/app', |
115 | | - __DIR__ . '/system/CodeIgniter.php', |
116 | | - __DIR__ . '/system/Config/BaseConfig.php', |
117 | | - __DIR__ . '/system/Test/ControllerTestTrait.php', |
118 | | - __DIR__ . '/system/View/Parser.php', |
119 | | - __DIR__ . '/tests/system/Debug/ExceptionsTest.php', |
120 | | - ], |
121 | | - |
122 | 112 | // use mt_rand instead of random_int on purpose on non-cryptographically random |
123 | 113 | RandomFunctionRector::class, |
124 | 114 |
|
|
172 | 162 | // auto import fully qualified class names |
173 | 163 | ->withImportNames() |
174 | 164 | ->withRules([ |
175 | | - DeclareStrictTypesRector::class, |
176 | 165 | UnderscoreToCamelCaseVariableNameRector::class, |
177 | 166 | PassStrictParameterToFunctionParameterRector::class, |
178 | 167 | RemoveErrorSuppressInTryCatchStmtsRector::class, |
|
0 commit comments