Skip to content

Remove (outdated) recipe implementation of Kernel::configureContainer() and ::configureRoutes() methods #14657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

jdreesen
Copy link
Contributor

Pimcore still uses the Symfony 5.2 Kernel recipe, which changed a bit in Symfony 5.3 and was integrated into the MicroKernelTrait in Symfony 5.4 via symfony/symfony#42991.

Since Pimcore 11 only supports Symonfy 6 as a minimum, we can rely on the default implementation (which also has the advantage that it allows PHP config by default, which is the new preferred way of Symfony).


Please note that this is a breaking change as MicroKernelTrait::configureContainer() has three parameters instead of one.

@github-actions
Copy link

Review Checklist

  • Target branch (10.5 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@dvesh3 dvesh3 added this to the 11.0.0 milestone Mar 14, 2023
@dvesh3 dvesh3 self-assigned this Mar 20, 2023
@dvesh3 dvesh3 merged commit 87fef61 into pimcore:11.x Mar 23, 2023
@dvesh3
Copy link
Contributor

dvesh3 commented Mar 23, 2023

@jdreesen thanks!

@jdreesen jdreesen deleted the kernel-cleanup branch March 23, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants