mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
c56fdd2b7f
1b68ff48b8
[automated] Apply Coding Standard (#6524)
16 lines
960 B
PHP
16 lines
960 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202412;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
|
|
use Rector\Naming\Rector\Class_\RenamePropertyToMatchTypeRector;
|
|
use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector;
|
|
use Rector\Naming\Rector\ClassMethod\RenameVariableToMatchNewTypeRector;
|
|
use Rector\Naming\Rector\Foreach_\RenameForeachValueVariableToMatchExprVariableRector;
|
|
use Rector\Naming\Rector\Foreach_\RenameForeachValueVariableToMatchMethodCallReturnTypeRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([RenameParamToMatchTypeRector::class, RenamePropertyToMatchTypeRector::class, RenameVariableToMatchNewTypeRector::class, RenameVariableToMatchMethodCallReturnTypeRector::class, RenameForeachValueVariableToMatchMethodCallReturnTypeRector::class, RenameForeachValueVariableToMatchExprVariableRector::class]);
|
|
};
|