Skip to content

Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::__construct (): Argument #1 ($container) must be of type Symfony\Component\DependencyInjection\ContainerBuilder, RectorPrefix202209\Symfony\Component\DependencyInjection\ContainerBuilder given, called in /var/www/php-application/vendor/rector/rector/vendor/symfony/dependency-injection/Loader/Php FileLoader.php on line 67  #7455

Closed
@ahmedesa

Description

Bug Report

| Rector version | 0.14.2
| php version | 8.1.9
| phpstan version | 1.8.3

when run : vendor/bin/rector p --ansi

error :

[ERROR] Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::__construct
(): Argument #1 ($container) must be of type
Symfony\Component\DependencyInjection\ContainerBuilder,
RectorPrefix202209\Symfony\Component\DependencyInjection\ContainerBuilder given, called in
/var/www/php-application/vendor/rector/rector/vendor/symfony/dependency-injection/Loader/Php
FileLoader.php on line 67

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions