Skip to content

Implicit dependency twig/twig #853

@underground20

Description

@underground20
Q A
Bundle version 6.10.0
Symfony version 8.0
PHP version 8.4

Support Question

I used Symfony 7.3 and bundle 6.9 version. After upgrade Symfony to 8 and bundle to 6.10 an error appeared "Service id "Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationRuntime" looks like a FQCN but no corresponding class or interface exists. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class or interface."

This probably happened because of this change "Registering a service without a class when its id is a non-existing FQCN throws an error" in "symfony/dependency-injection".
Bundle does not require "twig/twig" like explicit dependency. Is it a bug?

Metadata

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