Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #33139 [Intl] Cleanup unused language aliases entry (ro0NL)
This PR was merged into the 3.4 branch. Discussion ---------- [Intl] Cleanup unused language aliases entry | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> The data entry `Aliases` in languages is never used. https://github.com/symfony/symfony/blob/50c59112298669e7724a42a8ee1a1fe6d1e1b536/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php#L44-L47 Already crashes with ``` Symfony\Component\Intl\Exception\MissingResourceException: Couldn't read the indices [Aliases] for the locale "root" in "src/Symfony/Component/Intl/Resources/data/languages". ``` The locale should be `meta`, which would return an empty array 🤷♂️ Commits ------- 1689f77 [Intl] Cleanup unused language aliases entry
- Loading branch information