mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 12:20:52 +00:00
b4891e547c
a5340c6f06
[Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
14 lines
432 B
PHP
14 lines
432 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220611;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\Set\ValueObject\SetList;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([SetList::PHP_54, SetList::PHP_53]);
|
|
// parameter must be defined after import, to override imported param version
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_54);
|
|
};
|