Skip to content

Fix Symfony 8.1 DependencyInjection deprecation warning#258

Merged
Kocal merged 1 commit into
symfony:2.xfrom
30Sana:fix/symfony-81-dependency-injection-deprecation
May 15, 2026
Merged

Fix Symfony 8.1 DependencyInjection deprecation warning#258
Kocal merged 1 commit into
symfony:2.xfrom
30Sana:fix/symfony-81-dependency-injection-deprecation

Conversation

@30Sana

@30Sana 30Sana commented May 15, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #257
License MIT

Fix Symfony 8.1 DependencyInjection deprecation warning

Replaces the deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension with Symfony\Component\DependencyInjection\Extension\Extension as required since Symfony 8.1.

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label May 15, 2026
@30Sana

30Sana commented May 15, 2026

Copy link
Copy Markdown
Contributor Author

Both CI failures appear to be pre-existing and unrelated to this change. The Bundle CI (dev, 8.5) tests fail on an HTTP 404 for example.com/build/entrypoints.json, and the Fabbot PHP-CS-Fixer check fails looking for a /b/tests directory that doesn't exist. Neither relates to the single import line change in this PR.

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels May 15, 2026
@Kocal Kocal added the Bug Bug Fix label May 15, 2026
@Kocal Kocal force-pushed the fix/symfony-81-dependency-injection-deprecation branch from 8d73cb4 to 2bee63b Compare May 15, 2026 14:46
@Kocal

Kocal commented May 15, 2026

Copy link
Copy Markdown
Member

Thank you @30Sana.

@Kocal Kocal merged commit c1c96dd into symfony:2.x May 15, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symfony 8.1 DependencyInjection deprecation

3 participants