Skip to content

Commit 769b679

Browse files
authored
Merge pull request #9709 from samsonasik/chore-bump-rector-216
chore: Bump to Rector 2.1.6 and clean up rector skip config
2 parents 67f46a3 + 20831df commit 769b679

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpunit/phpcov": "^9.0.2 || ^10.0",
2929
"phpunit/phpunit": "^10.5.16 || ^11.2",
3030
"predis/predis": "^3.0",
31-
"rector/rector": "2.1.5",
31+
"rector/rector": "2.1.6",
3232
"shipmonk/phpstan-baseline-per-identifier": "^2.0"
3333
},
3434
"replace": {

rector.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
use Rector\Php70\Rector\FuncCall\RandomFunctionRector;
3636
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
3737
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
38-
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddParamTypeFromDependsRector;
3938
use Rector\PHPUnit\CodeQuality\Rector\Class_\RemoveDataProviderParamKeysRector;
4039
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
4140
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -129,7 +128,6 @@
129128
__DIR__ . '/system/Validation/Views',
130129
__DIR__ . '/system/View/Parser.php',
131130
__DIR__ . '/tests/system/Debug/ExceptionsTest.php',
132-
__DIR__ . '/tests/system/View/Views',
133131
],
134132

135133
// use mt_rand instead of random_int on purpose on non-cryptographically random
@@ -170,9 +168,6 @@
170168
CompactToVariablesRector::class,
171169

172170
RemoveDataProviderParamKeysRector::class,
173-
174-
// buggy on no depends, @see https://github.com/rectorphp/rector-phpunit/pull/537
175-
AddParamTypeFromDependsRector::class,
176171
])
177172
// auto import fully qualified class names
178173
->withImportNames(removeUnusedImports: true)

0 commit comments

Comments
 (0)