PHP 8.2.31
Preview: symfony33.php Size: 2.78 KB
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-symfony/config/sets/symfony/symfony33.php

<?php

declare (strict_types=1);
namespace RectorPrefix202411;

use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
use Rector\Arguments\ValueObject\ArgumentAdder;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
use Rector\Renaming\Rector\Name\RenameClassRector;
use Rector\Renaming\ValueObject\MethodCallRename;
use Rector\Symfony\Symfony33\Rector\ClassConstFetch\ConsoleExceptionToErrorEventConstantRector;
return static function (RectorConfig $rectorConfig) : void {
    $rectorConfig->ruleWithConfiguration(ArgumentAdderRector::class, [new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'compile', 0, 'resolveEnvPlaceholders', \false), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'addCompilerPass', 2, 'priority', 0), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph', 'connect', 6, 'weak', \false)]);
    $rectorConfig->rule(ConsoleExceptionToErrorEventConstantRector::class);
    $rectorConfig->ruleWithConfiguration(RenameClassRector::class, [
        # console
        'Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent' => 'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent',
        # debug
        'Symfony\\Component\\Debug\\Exception\\ContextErrorException' => 'ErrorException',
        # dependency-injection
        'Symfony\\Component\\DependencyInjection\\DefinitionDecorator' => 'Symfony\\Component\\DependencyInjection\\ChildDefinition',
        # framework bundle
        'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\AddConsoleCommandPass' => 'Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass',
        'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\SerializerPass' => 'Symfony\\Component\\Serializer\\DependencyInjection\\SerializerPass',
        'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\FormPass' => 'Symfony\\Component\\Form\\DependencyInjection\\FormPass',
        'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener' => 'Symfony\\Component\\HttpKernel\\EventListener\\SessionListener',
        'Symfony\\Bundle\\FrameworkBundle\\EventListener\\TestSessionListenr' => 'Symfony\\Component\\HttpKernel\\EventListener\\TestSessionListener',
        'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ConfigCachePass' => 'Symfony\\Component\\Config\\DependencyInjection\\ConfigCachePass',
        'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\PropertyInfoPass' => 'Symfony\\Component\\PropertyInfo\\DependencyInjection\\PropertyInfoPass',
    ]);
    $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [new MethodCallRename('Symfony\\Component\\DependencyInjection\\Container', 'isFrozen', 'isCompiled')]);
};

Directory Contents

Dirs: 1 × Files: 32

Name Size Perms Modified Actions
symfony6 DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
1.08 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
811 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.57 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
571 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
448 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
285 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1022 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.53 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
11.29 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.19 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
458 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.78 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.02 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1018 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.71 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.72 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
6.65 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.84 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
11.80 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
875 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.38 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.88 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
6.18 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.27 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
3.80 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.66 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.61 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
6.12 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.99 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.33 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.17 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.01 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).