Skip to content

IBX-12046: Removed Symfony 8 deprecated code usage - #44

Open
ViniTou wants to merge 1 commit into
6.0from
ibx-12046-symfony-deprecations
Open

IBX-12046: Removed Symfony 8 deprecated code usage#44
ViniTou wants to merge 1 commit into
6.0from
ibx-12046-symfony-deprecations

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 9, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12046

Related PRs:

Description:

  • Removed the unused symfony/templating dependency from composer.json. It was dead: no code in src/tests uses Symfony\Component\Templating — the only Templating-named hits are the repo's own Ibexa\DesignEngine\Templating namespace (template path registry, name resolver, Twig theme loader). Twig itself is already provided transitively via ibexa/core.
  • Ran the full IBX-12046 static scan for other Symfony 8 removed-API patterns (Request::get(), Security voters/UserChecker, Validator constraints, !tagged, Serializer/Routing annotations, ArgumentValueResolverInterface, nested OptionsResolver defaults, implicit-nullable params, Twig extension/loader return types) — no further matches in this repo.
  • composer update after the removal resolves cleanly on Symfony 7.4.18 (symfony/templating 6.4.24 remains installed only transitively via ibexa/core, which still requires it directly).
  • No BC handling needed and no cross-repo merge-order constraints — this change only touches this repo's own dependency list.

For QA:

  • N/A — dependency-only change, no runtime behavior affected. composer install/composer update should succeed and the bundle should function as before (Twig theme fallback, template path resolution, data collector).

Documentation:

N/A

Removed the unused symfony/templating dependency (Twig is already
provided via ibexa/core); no direct usages of Symfony\Component\Templating
existed in src or tests, only the unrelated Ibexa\DesignEngine\Templating
namespace. Full static scan for other Symfony 8 deprecation patterns
(Request::get(), voters, constraints, Twig extension/loader return types,
etc.) found no further matches in this repo. Unit suite passes with 0
direct/indirect/self deprecations under symfony/phpunit-bridge; PHPStan
and CS clean.
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

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.

5 participants