Fork Symfony's ContainerAwareTrait and ContainerAwareInterface into core

Created on 29 October 2023, about 1 year ago
Updated 12 August 2024, 5 months ago

Problem/Motivation

In #3392616-5: Update to Symfony 6.4 β†’ we've found out that the Symfony\Component\DependencyInjection\ContainerAwareTrait and Symfony\Component\DependencyInjection\ContainerAwareInterface are being deprecated in Symfony 6.4 and removed in 7.0.

Proposed resolution

We can't get rid off all implementations and will need to fork those into core ( #3392616-8: Update to Symfony 6.4 β†’ and #3392616-20: Update to Symfony 6.4 β†’ )

However, we want to get rid of as many usage as possible, for that there is πŸ“Œ [META] Reduce use of ContainerAware classes where possible Active .

MR!5181 is the actual MR, but since that also removes all the deprecation suppression it currently fails (hard...).

However if we put the MRs of the children of πŸ“Œ [META] Reduce use of ContainerAware classes where possible Active on top of that MR, as done in MR!5182, we are fully green.

Remaining tasks

Postponed on πŸ“Œ Convert both BookNavigationCacheContext and MenuActiveTrailsCacheContext to use lazy services RTBC
Review

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Closed: won't fix

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 1 day ago

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
  • Needs architectural review

    The issue is available for high level reviews only. If there is a patch or MR it is not to be set to 'Needs work' for coding standards, minor or nit-pick changes.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024