2023-11-03 12:13:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2023-12-01 09:49:11 +00:00
|
|
|
namespace RectorPrefix202312;
|
2023-11-03 12:13:20 +00:00
|
|
|
|
|
|
|
use Rector\Config\RectorConfig;
|
2023-12-03 17:40:26 +00:00
|
|
|
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
|
|
|
|
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
|
2023-11-03 12:13:20 +00:00
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
2023-12-03 15:49:51 +00:00
|
|
|
$rectorConfig->rules([AddOverrideAttributeToOverriddenMethodsRector::class, AddTypeToConstRector::class]);
|
2023-11-03 12:13:20 +00:00
|
|
|
};
|