mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-25 06:41:01 +01:00
Also tweak 'clean()' a bit in the process. https://wiki.php.net/rfc/first_class_callable_syntax
22 lines
635 B
PHP
22 lines
635 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
// TODO: use the 'composer.json' approach instead
|
|
->withPhpSets(php82: true)
|
|
->withCache(__DIR__ . '/.rector-tmp', FileCacheStorage::class)
|
|
->withPaths([__DIR__])
|
|
->withSkip([
|
|
__DIR__ . '/lib',
|
|
__DIR__ . '/plugins.local',
|
|
__DIR__ . '/vendor',
|
|
// not a fan
|
|
Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector::class,
|
|
// noisy at the moment (needs more review)
|
|
Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector::class,
|
|
]);
|