diff --git a/composer.json b/composer.json index 5632a8e1273c..42579e3fe00f 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "phpunit/phpcov": "^9.0.2 || ^10.0", "phpunit/phpunit": "^10.5.16 || ^11.2", "predis/predis": "^3.0", - "rector/rector": "2.1.5", + "rector/rector": "2.1.6", "shipmonk/phpstan-baseline-per-identifier": "^2.0" }, "replace": { diff --git a/rector.php b/rector.php index 7e83d20c3dd2..738f3cd23109 100644 --- a/rector.php +++ b/rector.php @@ -35,7 +35,6 @@ use Rector\Php70\Rector\FuncCall\RandomFunctionRector; use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; -use Rector\PHPUnit\CodeQuality\Rector\Class_\AddParamTypeFromDependsRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\RemoveDataProviderParamKeysRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; @@ -129,7 +128,6 @@ __DIR__ . '/system/Validation/Views', __DIR__ . '/system/View/Parser.php', __DIR__ . '/tests/system/Debug/ExceptionsTest.php', - __DIR__ . '/tests/system/View/Views', ], // use mt_rand instead of random_int on purpose on non-cryptographically random @@ -170,9 +168,6 @@ CompactToVariablesRector::class, RemoveDataProviderParamKeysRector::class, - - // buggy on no depends, @see https://github.com/rectorphp/rector-phpunit/pull/537 - AddParamTypeFromDependsRector::class, ]) // auto import fully qualified class names ->withImportNames(removeUnusedImports: true)