Skip to content

Commit 33962a9

Browse files
committed
refactor: rector
1 parent 1da5e43 commit 33962a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use PHPDevsr\Rector\Codeigniter4\Set\CodeigniterSetList;
6+
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
67
use Rector\Config\RectorConfig;
78
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
89

@@ -16,6 +17,13 @@
1617
__DIR__ . '/tests',
1718
__DIR__ . '/config',
1819
])
20+
->withParallel(120, 8, 10)
21+
->withCache('/tmp/rector', FileCacheStorage::class)
22+
->withPHPStanConfigs([
23+
__DIR__ . '/phpstan.neon.dist',
24+
__DIR__ . '/vendor/codeigniter/phpstan-codeigniter/extension.neon',
25+
__DIR__ . '/vendor/phpstan/phpstan-strict-rules/rules.neon',
26+
])
1927
->withSkip([
2028
// for tests
2129
'*/Source/*',

0 commit comments

Comments
 (0)