Closed
Description
Symfony version(s) affected: 4.2.7
Description
Application crashes on trying to import Symfony\Component\Translation\TranslatorInterface
for Symfony\Component\Validator\Util\LegacyTranslatorProxy
In LegacyTranslatorProxy.php line 21:
Attempted to load interface "TranslatorInterface" from namespace "Symfony\Component\Translation".
Did you forget a "use" statement for "Symfony\Contracts\Translation\TranslatorInterface"?
How to reproduce
composer create-project symfony/skeleton issue-translation-component
cd issue-translation-component/
composer req framework-bundle validator
composer u
bin/console cache:clear
Possible Solution
Additional context
I can avoid the problem, if I require symfony/translator
package to app
Metadata
Metadata
Assignees
Labels
No labels