2022-12-02 12:17:13 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2023-05-01 01:36:32 +00:00
|
|
|
namespace RectorPrefix202305;
|
2022-12-02 12:17:13 +00:00
|
|
|
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
|
|
use Rector\Set\ValueObject\SetList;
|
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->sets([SetList::PHP_53, SetList::PHP_52]);
|
|
|
|
// parameter must be defined after import, to override imported param version
|
|
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_53);
|
|
|
|
};
|