mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
28 lines
745 B
PHP
28 lines
745 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
|
|
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddSeeTestAnnotationRector;
|
|
use Rector\PHPUnit\Set\PHPUnitSetList;
|
|
use Rector\Set\ValueObject\SetList;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/src/',
|
|
__DIR__.'/tests/',
|
|
__DIR__.'/bin/',
|
|
])
|
|
->withRootFiles()
|
|
->withSets([
|
|
SetList::PHP_82,
|
|
PHPUnitSetList::PHPUNIT_100,
|
|
PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES,
|
|
PHPUnitSetList::PHPUNIT_CODE_QUALITY,
|
|
])
|
|
->withSkip([
|
|
AddSeeTestAnnotationRector::class,
|
|
StringClassNameToClassConstantRector::class,
|
|
]);
|