cviebrock / eloquent-sluggable

Easy creation of slugs for your Eloquent models in Laravel
MIT License
3.91k stars 461 forks source link

Support PHP 8.4 #616

Closed SupianIDz closed 4 days ago

SupianIDz commented 5 days ago

Fix all these DEPRECATED.

DEPRECATED Cviebrock\EloquentSluggable\Sluggable::replicate(): Implicitly marking parameter $except as nullable is deprecated, the explicit nullable type must be used instead in vendor/cviebrock/eloquent-sluggable/src/Sluggable.php on line 48.

DEPRECATED Cviebrock\EloquentSluggable\Services\SlugService::buildSlug(): Implicitly marking parameter $force as nullable is deprecated, the explicit nullable type must be used instead in vendor/cviebrock/eloquent-sluggable/src/Services/SlugService.php on line 79.

DEPRECATED Cviebrock\EloquentSluggable\Services\SlugService::createSlug(): Implicitly marking parameter $config as nullable is deprecated, the explicit nullable type must be used instead in vendor/cviebrock/eloquent-sluggable/src/Services/SlugService.php on line 410.

cviebrock commented 4 days ago

This is in the 11.0.1 release now. Thanks @SupianIDz !