PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
rector
/
rector-symfony
/
config
/
sets
/
symfony
<?php declare (strict_types=1); namespace RectorPrefix202411; use PHPStan\Type\MixedType; use Rector\Config\RectorConfig; use Rector\Renaming\Rector\Class_\RenameAttributeRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\RenameAttribute; use Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector; use Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration; // @see https://github.com/symfony/symfony/blob/6.4/UPGRADE-6.4.md return static function (RectorConfig $rectorConfig) : void { $rectorConfig->ruleWithConfiguration(RenameClassRector::class, ['Symfony\\Component\\HttpKernel\\UriSigner' => 'Symfony\\Component\\HttpFoundation\\UriSigner', 'Symfony\\Component\\HttpKernel\\Debug\\FileLinkFormatter' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\FileLinkFormatter']); $rectorConfig->ruleWithConfiguration(RenameAttributeRector::class, [new RenameAttribute('Symfony\\Component\\Routing\\Annotation\\Route', 'Symfony\\Component\\Routing\\Attribute\\Route')]); $rectorConfig->ruleWithConfiguration(AddReturnTypeDeclarationRector::class, [new AddReturnTypeDeclaration('Symfony\\Component\\Form\\DataTransformerInterface', 'transform', new MixedType()), new AddReturnTypeDeclaration('Symfony\\Component\\Form\\DataTransformerInterface', 'reverseTransform', new MixedType())]); };
[-] configs.php
[edit]
[+]
symfony6
[-] symfony62.php
[edit]
[-] symfony71.php
[edit]
[-] symfony54.php
[edit]
[-] symfony34.php
[edit]
[-] symfony33.php
[edit]
[+]
..
[-] symfony51.php
[edit]
[-] symfony52.php
[edit]
[-] symfony30.php
[edit]
[-] symfony32.php
[edit]
[-] symfony44.php
[edit]
[-] symfony26.php
[edit]
[-] symfony64.php
[edit]
[-] symfony25.php
[edit]
[-] symfony61.php
[edit]
[-] symfony53.php
[edit]
[-] annotations-to-attributes.php
[edit]
[-] symfony28.php
[edit]
[-] symfony52-validator-attributes.php
[edit]
[-] symfony70.php
[edit]
[-] symfony60.php
[edit]
[-] symfony40.php
[edit]
[-] symfony31.php
[edit]
[-] symfony-constructor-injection.php
[edit]
[-] symfony42.php
[edit]
[-] symfony50-types.php
[edit]
[-] symfony63.php
[edit]
[-] symfony43.php
[edit]
[-] symfony50.php
[edit]
[-] symfony41.php
[edit]
[-] symfony27.php
[edit]
[-] symfony-code-quality.php
[edit]