mglaman / drupal-change-record-triage

Used to triage Drupal change records to ensure phpstan-drupal, drupal-rector, and upgrade_status have appropriate issues.
MIT License
6 stars 0 forks source link

\Drupal\Core\Validation\DrupalTranslator:transChoice() is deprecated #300

Open mglaman opened 1 year ago

mglaman commented 1 year ago

https://www.drupal.org/node/3256859

Introduced in branch/version: 9.4.x / 9.4.0

Symfony 4.2 has deprecated \Symfony\Component\Translation\TranslatorInterface::transChoice(). Drupal implements this interface in \Drupal\Core\Validation\DrupalTranslator::transChoice() however the parent method is not invoked in the implementation so the Symfony deprecation is not effective for the Drupal implementation.

Now \Drupal\Core\Validation\DrupalTranslator::transChoice() is also deprecated.

bbrala commented 1 year ago

So, basically this fixed itself in 10? Since the interface is no longer around.