You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
After composer require validator on fresh project I get:
!! PHP Fatal error: Interface 'Symfony\Component\Translation\TranslatorInterface' not found in vendor/symfony/validator/Util/LegacyTranslatorProxy.php on line 21
!!
!! In LegacyTranslatorProxy.php line 21:
!!
!! Attempted to load interface "TranslatorInterface" from namespace "Symfony\C
!! omponent\Translation".
!! Did you forget a "use" statement for "Symfony\Contracts\Translation\Transla
!! torInterface"?
!!
However I don't need Translator in my project.
How to reproduce
Init fresh project (from symfony/skeleton)
Require Validator Component
Possible Solution
Remove dependency or add symfony/contracts as a dependency of Validator.
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected: 4.2
Description
After
composer require validator
on fresh project I get:However I don't need Translator in my project.
How to reproduce
Possible Solution
Remove dependency or add
symfony/contracts
as a dependency of Validator.The text was updated successfully, but these errors were encountered: