Skip to content
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

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

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 Jan 13, 2021
@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jan 14, 2021

Thank you @chalasr.

@nicolas-grekas nicolas-grekas merged commit 0e25f40 into symfony:4.4 Jan 14, 2021
5 checks passed
@chalasr chalasr deleted the silent-deprecated-alias-of-deprecated-def branch Jan 14, 2021
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.

None yet

4 participants