mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
cd2a644e0c
[Core] Refactor RectifiedAnalyzer: early check against AbstractScopeAwareRector instead of Original node (#2295)
12 lines
412 B
PHP
12 lines
412 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220512;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
|
use Rector\Set\ValueObject\DowngradeSetList;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_72, \Rector\Set\ValueObject\DowngradeSetList::PHP_72]);
|
|
};
|