mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
0dc28df936
8d92c466fd
[DX] Use RectorConfig in configs (#2063)
12 lines
271 B
PHP
12 lines
271 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\Configuration\Option;
|
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
|
$parameters = $rectorConfig->parameters();
|
|
$parameters->set(Option::PATHS, [__DIR__ . '/src']);
|
|
};
|