mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-04 10:20:52 +00:00
f9c1f58ffc
52b665436c
[PHP83] Implements a rule to add types to class constants (#5290)
10 lines
336 B
PHP
10 lines
336 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202312;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([\Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector::class, \Rector\Php83\Rector\ClassConst\AddTypeToConstRector::class]);
|
|
};
|