mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-04 02:10:51 +00:00
cdc1ef461c
2ad03db37f
[Php83] Adds rule for adding Override attribute (#5170)
11 lines
325 B
PHP
11 lines
325 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202311;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([AddOverrideAttributeToOverriddenMethodsRector::class]);
|
|
};
|