mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
0dc28df936
8d92c466fd
[DX] Use RectorConfig in configs (#2063)
12 lines
314 B
PHP
12 lines
314 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
|
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
|
$services = $rectorConfig->services();
|
|
$services->set(FinalizeClassesWithoutChildrenRector::class);
|
|
};
|