mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
0ba8579821
[Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067)
13 lines
439 B
PHP
13 lines
439 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220413;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
|
use Rector\Set\ValueObject\DowngradeSetList;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->import(\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_71);
|
|
$rectorConfig->import(\Rector\Set\ValueObject\DowngradeSetList::PHP_71);
|
|
};
|