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

feat: strong type all project for support PHP 8+ versions better #324

Closed shakaran closed 1 year ago

shakaran commented 1 year ago

This PR add strong type params and strong typed returns for all the project for enforce best practices in code in PHP 8+ versions.

Also update localheinz/composer-normalize under dev-tools.

Running all tests works perfect.

It should BC for PHP < 8 versions, so maybe a new release minor/mayor should be needed