Closed wikigods closed 12 months ago
Hey @wikigods, we don't actively support this package anymore. We merge fixes as long as people are still using it and provide the PR themselves. If you want to keep using this package, feel free to provide a PR that fixes the warnings.
Good morning, can you help me with a problem I have when I run the tests (I only need this one test) for laravel = 9 php = 8.1 phpunit/phpunit = 9.5.10 mockery/mockery = 1.4.4 attached changes I made to the package with commit: "update implements the Serializable interface". https://github.com/wikigods/Laravel-Sidebar/commits/master Sorry for my english
@patrickbrouwers
I'm getting LOG.warning: implements the Serializable interface using laravel 9 but I think it's more due to the PHP 8.1.2 version I'm currently using.
"Warning. As of PHP 8.1.0, a class that implements Serializable without also implementing serialize() and unserialize() will generate a deprecation warning."
My solution is to implement serialize() and unserialize() , so as not to have that warning.
@patrickbrouwers