Closed
Description
Symfony version(s) affected
6.2-dev
Description
Regression caused by #46279
Registering Response
as an abstract service here, causes the following error message:
The definition ".service_locator.Fz2ZPLc" has a reference to an abstract definition "Symfony\Component\HttpFoundation\Response". Abstract definitions cannot be the target of references.
How to reproduce
Just use an existing Symfony project with 6.2-dev
and build the container.
See also https://github.com/pimcore/pimcore/actions/runs/3408995937/jobs/5670226500#step:7:702
Possible Solution
Removing the following line fixes the issue for me:
Additional Context
No response