xref: /dokuwiki/vendor/splitbrain/lesserphp/rector.php (revision e6380ba37d6b3f7dd03146b3c03030ccc8c1b297)
1*e6380ba3SAndreas Gohr<?php
2*e6380ba3SAndreas Gohr
3*e6380ba3SAndreas Gohrdeclare(strict_types=1);
4*e6380ba3SAndreas Gohr
5*e6380ba3SAndreas Gohruse Rector\Config\RectorConfig;
6*e6380ba3SAndreas Gohruse Rector\Set\ValueObject\LevelSetList;
7*e6380ba3SAndreas Gohr
8*e6380ba3SAndreas Gohrreturn static function (RectorConfig $rectorConfig): void {
9*e6380ba3SAndreas Gohr    $rectorConfig->paths([
10*e6380ba3SAndreas Gohr        //__DIR__ . '/tests',
11*e6380ba3SAndreas Gohr        __DIR__ . '/src',
12*e6380ba3SAndreas Gohr    ]);
13*e6380ba3SAndreas Gohr
14*e6380ba3SAndreas Gohr    $rectorConfig->sets([
15*e6380ba3SAndreas Gohr        LevelSetList::UP_TO_PHP_74
16*e6380ba3SAndreas Gohr    ]);
17*e6380ba3SAndreas Gohr};
18