First, thank you for maintaining this library. I work on a project that uses it and that needs to be upgraded to Symfony 6.0.
I had to make a lot of updates in order to have tests passing. Please tell me if you prefers separated pull requests, or anything that I should change.
Remove hirak/prestissimo, not necessary since Composer 2 supports parallel downloads.
Switch to symfony/simple-phpunit to get polyfills for PHPUnit versions.
Replace Mockery with PHPUnit Mock in Cocur\Slugify\Tests\Bridge\Symfony\CocurSlugifyExtensionTest, to solve an error ParseError: syntax error, unexpected token "static", expecting identifier
First, thank you for maintaining this library. I work on a project that uses it and that needs to be upgraded to Symfony 6.0.
I had to make a lot of updates in order to have tests passing. Please tell me if you prefers separated pull requests, or anything that I should change.
symfony/simple-phpunit
to get polyfills for PHPUnit versions.void
return type)Cocur\Slugify\Tests\Bridge\Symfony\CocurSlugifyExtensionTest
, to solve an errorParseError: syntax error, unexpected token "static", expecting identifier