Skip to content

[DependencyInjection] Don't trigger notice for deprecated aliases pointing to deprecated definitions #39821

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

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Jan 13, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Defining an alias that points to a deprecated definition should trigger a deprecation notice, but when the alias itself is deprecated, it should not trigger.

@carsonbot carsonbot added this to the 4.4 milestone Jan 13, 2021
@carsonbot carsonbot changed the title [DI] Don't trigger notice for deprecated aliases pointing to deprecated definitions [DependencyInjection] Don't trigger notice for deprecated aliases pointing to deprecated definitions Jan 13, 2021
@chalasr chalasr force-pushed the silent-deprecated-alias-of-deprecated-def branch from d356f57 to 38f98a1 Compare January 13, 2021 17:24
@nicolas-grekas
Copy link
Member

Thank you @chalasr.

@nicolas-grekas nicolas-grekas merged commit 0e25f40 into symfony:4.4 Jan 14, 2021
@chalasr chalasr deleted the silent-deprecated-alias-of-deprecated-def branch January 14, 2021 15:02
This was referenced Jan 27, 2021
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.

4 participants