cocur / slugify

Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
MIT License
2.87k stars 251 forks source link

User Deprecated #298

Closed Evgeny1973 closed 2 years ago

Evgeny1973 commented 2 years ago

Can you update, please? Symfony 5.4, Slugify 4.0.0

User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle" now to avoid errors or add an explicit @return annotation to suppress this message.

GromNaN commented 2 years ago

Should be fixed. https://github.com/cocur/slugify/pull/299

ph-il commented 2 years ago

Is there's a date for a new version?

ZaneCEO commented 2 years ago

The last release is from December 2019, so I'm not really sure what to expect.

Meanwhile, I change to "cocur/slugify": "dev-master", in my composer.json and the issue is fixed. I hope to switch back soon, but for now, it works.

florianeckerstorfer commented 2 years ago

I was travelling over Christmas and New Years and started to work on my OSS projects again this week. I hope I can get a new version out this weekend.

florianeckerstorfer commented 2 years ago

Released v4.1.0