mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 05:18:18 +01:00
071d7cb788
c35cc97d38
[DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
13 lines
254 B
PHP
13 lines
254 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::PHP_53);
|
|
};
|