rector/config/set/downgrade-php53.php
Tomas Votruba 9a9e8960ee Updated Rector to commit 9cd69c2b3dfdacad9cc293bfea3facde5ddc5d00
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00

13 lines
450 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20220529;
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);
$rectorConfig->rule(\Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector::class);
};