diff --git a/rector.php b/rector.php index 201fc80..5a44260 100644 --- a/rector.php +++ b/rector.php @@ -3,6 +3,8 @@ declare(strict_types=1); use Rector\Config\RectorConfig; +use Rector\PHPUnit\AnnotationsToAttributes\Rector\ClassMethod\DataProviderAnnotationToAttributeRector; +use Rector\TypeDeclarationDocblocks\Rector\ClassMethod\AddParamArrayDocblockFromDataProviderRector; return RectorConfig::configure() ->withPaths([ @@ -11,6 +13,10 @@ ]) // uncomment to reach your current PHP version ->withPhpSets(false, true) + ->withRules([ + AddParamArrayDocblockFromDataProviderRector::class, + DataProviderAnnotationToAttributeRector::class, + ]) ->withTypeCoverageLevel(0) ->withDeadCodeLevel(0) ->withCodeQualityLevel(0);