mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
b0211bc3d8
fa75fcf0d1
[Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
13 lines
511 B
PHP
13 lines
511 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202402;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
|
|
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
|
|
use Rector\Php83\Rector\FuncCall\CombineHostPortLdapUriRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([AddOverrideAttributeToOverriddenMethodsRector::class, AddTypeToConstRector::class, CombineHostPortLdapUriRector::class]);
|
|
};
|