mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 23:39:58 +01:00
17 lines
359 B
PHP
17 lines
359 B
PHP
<?php
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withSkip([
|
|
__DIR__ . '/vendor',
|
|
])
|
|
->withPaths([
|
|
__DIR__
|
|
])
|
|
->withPhpSets(php82: true)
|
|
->withPhpVersion(Rector\ValueObject\PhpVersion::PHP_84)
|
|
->withRules([
|
|
Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector::class,
|
|
]);
|