-
-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathrector.php
More file actions
19 lines (17 loc) · 717 Bytes
/
rector.php
File metadata and controls
19 lines (17 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->withSets([
\Rector\PHPUnit\Set\PHPUnitSetList::PHPUNIT_110,
])
->withRules([
\Rector\TypeDeclaration\Rector\Class_\AddTestsVoidReturnTypeWhereNoReturnRector::class,
\Rector\PHPUnit\CodeQuality\Rector\Class_\AddParentSetupCallOnSetupRector::class,
\Rector\PHPUnit\PHPUnit60\Rector\ClassMethod\ExceptionAnnotationRector::class,
\Rector\PHPUnit\PHPUnit100\Rector\StmtsAwareInterface\WithConsecutiveRector::class,
\Rector\PHPUnit\PHPUnit100\Rector\Class_\StaticDataProviderClassMethodRector::class,
]);