Skip to content

Fix Sonata and Twig deprecation warnings#480

Merged
maltehuebner merged 1 commit intomainfrom
fix/deprecations
Mar 4, 2026
Merged

Fix Sonata and Twig deprecation warnings#480
maltehuebner merged 1 commit intomainfrom
fix/deprecations

Conversation

@maltehuebner
Copy link
Contributor

Summary

  • Remove deprecated http_cache option from sonata_block config (Sonata 5.0)
  • Remove deprecated spaceless filter from breadcrumbs template (Twig 3.12)

Note: The XML dependency-injection deprecations come from third-party bundles
(internal XML service configs) and cannot be fixed on our side.

Test plan

  • cache:clear runs without deprecation warnings for these two items
  • Breadcrumbs render correctly

🤖 Generated with Claude Code

- Remove deprecated http_cache option from sonata_block config
- Remove deprecated spaceless filter from breadcrumbs template

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maltehuebner maltehuebner merged commit 1cb0907 into main Mar 4, 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