Intervention / imagecache

Caching extension for the Intervention Image Class
https://image.intervention.io/v2/usage/cache
MIT License
638 stars 118 forks source link

PHP8.1: Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated ... #128

Open nickurt opened 2 years ago

nickurt commented 2 years ago

Hi,

We are getting this error on PHP8.1

PHP message: PHP Deprecated:  Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)

Since opis/closure has no native support for PHP8.1, is it possible to use the Laravel-fork (laravel/serializable-closure) instead of opis/closure?

See

eshimischi commented 1 year ago

Need a PR