rector/templates/rector.php.dist
Tomas Votruba 66a823a2fb Updated Rector to commit 51e89c3f32
51e89c3f32 [docs] Improve first-time contributors docs (#2061)
2022-04-12 08:58:57 +00:00

22 lines
530 B
Plaintext

<?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/src'
]);
// register a single rule
$rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);
// define sets of rules
// $rectorConfig->sets([
// LevelSetList::UP_TO_PHP_XY
// ]);
};