blob: 511d2cfda06861547d968ccdf0a2b0460e93cec1 (
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
|
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector;
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',
])
->withPhpVersion(Rector\ValueObject\PhpVersion::PHP_84)
->withRules([
ExplicitNullableParamTypeRector::class,
]);
|