1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\CoversAnnotationWithValueToAttributeRector;
use Rector\PHPUnit\AnnotationsToAttributes\Rector\ClassMethod\DataProviderAnnotationToAttributeRector;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->withRules([
CoversAnnotationWithValueToAttributeRector::class,
DataProviderAnnotationToAttributeRector::class,
])
// ->withPhpSets()
->withTypeCoverageLevel(0)
->withImportNames()
->withDeadCodeLevel(0)
->withCodeQualityLevel(0);
|