aboutsummaryrefslogtreecommitdiff
path: root/rector.php
blob: 4f025745635becaa5acd33592a44052cf4b61a29 (plain)
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
28
29
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withPaths([
        __DIR__ . '/app/controllers',
        __DIR__ . '/cli',
        __DIR__ . '/config',
        __DIR__ . '/db',
        __DIR__ . '/lib',
        __DIR__ . '/public/*.php',
        __DIR__ . '/tests',
    ])
    ->withSkip([
        __DIR__ . '/tests/_data',
        __DIR__ . '/tests/_support',
    ])
    ->withSets([
        __DIR__ . '/lib/Rectors/Studip-6.0-Set.php'
    ])
    // uncomment to reach your current PHP version
    ->withPhpSets()
//    ->withTypeCoverageLevel(0)
//    ->withDeadCodeLevel(0)
//    ->withCodeQualityLevel(0)
;