mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
071d7cb788
c35cc97d38
[DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
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->import(SetList::DEAD_CODE);
|
|
};
|