-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
rector.php
27 lines (24 loc) · 745 Bytes
/
rector.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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,
]);