mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-02 17:30:50 +00:00
5272a66ce1
01c0ea9420
[Config] Remove asterisk support in import() for file, use explicit paths instead (#5010)
13 lines
257 B
PHP
13 lines
257 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\SetList;
|
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
|
$rectorConfig->paths([__DIR__.'/src']);
|
|
|
|
$rectorConfig->sets([SetList::DEAD_CODE]);
|
|
};
|