mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
c56fdd2b7f
1b68ff48b8
[automated] Apply Coding Standard (#6524)
14 lines
594 B
PHP
14 lines
594 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202412;
|
|
|
|
use Rector\Carbon\Rector\FuncCall\DateFuncCallToCarbonRector;
|
|
use Rector\Carbon\Rector\FuncCall\TimeFuncCallToCarbonRector;
|
|
use Rector\Carbon\Rector\MethodCall\DateTimeMethodCallToCarbonRector;
|
|
use Rector\Carbon\Rector\New_\DateTimeInstanceToCarbonRector;
|
|
use Rector\Config\RectorConfig;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([DateFuncCallToCarbonRector::class, DateTimeInstanceToCarbonRector::class, DateTimeMethodCallToCarbonRector::class, TimeFuncCallToCarbonRector::class]);
|
|
};
|