Updated: Comment #7
Problem/Motivation
Follow-up from #2111349: Change notice: Move format_plural to the string translation service and format_interval to the date service. . Implementation of #2111349: Change notice: Move format_plural to the string translation service and format_interval to the date service. is not applied side-wide.
Proposed resolution
1. Inject translation service in Base classes (ControllerBase, FormBase and PluginBase) and create a helper method.
2. Use static \Drupal::translation()->formatPlural() call on procedural and test methods.
Remaining tasks
Patch - In progress
User interface changes
N/A
API changes
N/A