Skip to content

Container linter fails to lint the kernel service #40868

@derrabus

Description

@derrabus

Symfony version(s) affected: 5.3-dev

Description
Running the container linter on a new symfony app fails with the following error:

Invalid definition for service "kernel": "Symfony\Component\HttpKernel\Kernel::__construct()" requires 2 arguments, 0 passed.

How to reproduce

symfony new --version=next container-lint-reproducer
cd container-lint-reproducer
./bin/console lint:container

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions