Ctrl K
ComunidadGuías…

rector.php

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
<?php

declare(strict_types=1);

use Rector\Caching\ValueObject\Storage\FileCacheStorage;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
	->withPhpVersion(Rector\ValueObject\PhpVersion::PHP_82)
	->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,
		// TODO: review and re-enable
		Rector\Visibility\Rector\ClassMethod\ExplicitPublicClassMethodRector::class,
	]);