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

[FrameworkBundle] Rename service notifier.logger_notification_listener to notifier.notification_logger_listener #48678

Merged
merged 1 commit into from Jan 9, 2023

Conversation

ker0x
Copy link
Contributor

@ker0x ker0x commented Dec 16, 2022

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? yes
Tickets Fix #48519
License MIT
Doc PR -

@carsonbot carsonbot added this to the 6.3 milestone Dec 16, 2022
@OskarStark OskarStark changed the title [FrameworkBundle] Rename service notifier.logger_notification_listener to notifier.notification_logger_listener [FrameworkBundle] Rename service notifier.logger_notification_listener to notifier.notification_logger_listener Dec 18, 2022
@ker0x ker0x force-pushed the issue-48519 branch 2 times, most recently from f09d8e5 to 278e1de Compare December 19, 2022 11:34
@nicolas-grekas
Copy link
Member

I'm moot here. Is this possibly used directly by anyone? If not can't we take a shortcut and change the name on 6.1?

@chalasr
Copy link
Member

chalasr commented Dec 22, 2022

Is this possibly used directly by anyone?

Possibly some Container::get() in test cases yes, as it has been introduced before NotificationAssertionsTrait (5.2 vs 6.2). I think it's worth taking the smooth path

*/
public function testNotifierAssertion()
{
$this->expectDeprecation('Since symfony/framework-bundle 6.3: The "notifier.logger_notification_listener" service is deprecated, use "notifier.notification_logger_listener" instead.');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A legacy test is one that should be removed in 7.0
Since that's not the case here, it means something is missing to not trigger the deprecation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was unable to determine how to not trigger the depreciation, some help would be appreciated 😕!

UPGRADE-6.3.md Outdated Show resolved Hide resolved
…er` to `notifier.notification_logger_listener`
@nicolas-grekas
Copy link
Member

Thank you @ker0x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants