Skip to content

IBX-12046: Prepended the twig_component configuration defaults - #35

Closed
ViniTou wants to merge 1 commit into
6.0from
IBX-12046-symfony-deprecations-v2
Closed

ViniTou wants to merge 1 commit into
6.0from
IBX-12046-symfony-deprecations-v2

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12046

Related PRs:

Description:

symfony/ux-twig-component deprecates leaving twig_component.defaults and twig_component.anonymous_template_directory unset. admin-ui#2112 prepends them, but kernels that register IbexaTwigComponentsBundle + TwigComponentBundle without IbexaAdminUiBundle (e.g. ibexa/checkout's integration kernel) never run that prepend, so both deprecations stay in their baselines.

IbexaTwigComponentsExtension::prepend() now prepends the same values (anonymous_template_directory: components/, defaults: []), gated on the twig_component extension being registered. Where both bundles are registered the two prepends push identical config.

For QA:

No functional change. PHP 8.3 and 8.4, fresh composer update: unit and integration suites exit 0, PHPStan and code style clean; new unit tests cover both the registered and unregistered twig_component cases. Consumer check in ibexa/checkout with this change installed: both twig_component deprecations are gone from its integration run, nothing new.

Documentation:

N/A

@ViniTou

ViniTou commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

ibexa/test-core#58

@ViniTou ViniTou closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant