Skip to content

[DependencyInjection] Deprecate registering a service without a class when its id is a non-existing FQCN #61270

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 1 commit into from
Jul 30, 2025

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

#61215 might be too disruptive. This turns the exception into a deprecation.

@nicolas-grekas nicolas-grekas force-pushed the di-class branch 2 times, most recently from 88cb587 to a6912fe Compare July 30, 2025 10:20
@nicolas-grekas nicolas-grekas merged commit 693311f into symfony:7.4 Jul 30, 2025
11 checks passed
@nicolas-grekas nicolas-grekas deleted the di-class branch July 30, 2025 10:25
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.

3 participants