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
You cannot use the "Symfony\Component\String\Slugger\AsciiSlugger" as the "symfony/translation-contracts" package is not insta
lled. Try running "composer require symfony/translation-contracts".
How to reproduce
What I did:
I use AsciiSlugger in my code.
Ran composer require symfony/translation-contracts (package is installed).
Error persists even after reinstalling and rebuilding (composer install, clearing cache, rebuilding container).
Installed package:
symfony/translation-contracts 3.5.1 Generic abstractions related to translation
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Not required - because my Phpstorm has automatically added use _PHPStan_ea7072c0a\Symfony\Component\String\Slugger\AsciiSlugger; as namespace instead of use Symfony\Component\String\Slugger\AsciiSlugger; 🤦♂️
Symfony version(s) affected
7.2.6
Description
How to reproduce
What I did:
composer require symfony/translation-contracts
(package is installed).Installed package:
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: