Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Invalid service "test.api_platform.client": class "ApiPlatform\Test\Client" does not exist. #8571

Closed

Description

@lazka

API Platform version(s) affected: 5.0

Description

5.0 split out the api-platform/test, but it's still referenced in api-platform/symfony. I'm not using api-platform/test, so I don't have it installed after the upgrade.

How to reproduce

export APP_ENV=test
bin/console lint:container
In AbstractRecursivePass.php line 174:
                                                                                               
  Invalid service "test.api_platform.client": class "ApiPlatform\Test\Client" does not exist.  
                                                                                               
lint:container [--resolve-env-vars]

I guess it could check here if the class exists:

Activity

  1. added 2 commits that reference this issue on Sep 25, 2026
    33c0445
    332cb1b
  2. lazka commented on Sep 26, 2026

    @lazka
    ContributorAuthor

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions