rector/config/set/downgrade-php53.php
Tomas Votruba e7029ad1f5 Updated Rector to commit 0ba8579821d5aed010e087d8a41947e67c6f904c
0ba8579821 [Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067)
2022-04-13 16:29:57 +00:00

14 lines
488 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20220413;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
use Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector;
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_52);
$services = $rectorConfig->services();
$services->set(\Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector::class);
};