database
database copied to clipboard
Deprecation warning - PHP 8.1
Opis database generates this warning
Deprecated: Opis\Database\Connection implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /app/modular/vendor/opis/database/src/Connection.php on line 24
https://www.php.net/manual/en/class.serializable.php stats that "As of PHP 8.1.0, a class which implements Serializable without also implementing __serialize() and __unserialize() will generate a deprecation warning."
Hi. Did you fix?
i have the same problem
I encountered the same error, please let me know how to fix it.
I made a fork of this project, and with changing src/Connection.php, everything is working fine. Yo could also write a patch for src/Connection.php.
Fiz um fork desse projeto, e com a alteração de src/Connection.php, tudo está funcionando bem. Você também pode escrever um patch para src/Connection.php.
Play me please the link of your fork
@elvispdosreis provide me a bitbucket user, and I can forward you the code/link to my fork.
https://bitbucket.org/elvisdosreis/opis-database
Em seg., 27 de mar. de 2023 às 10:15, Wim De Nocker < @.***> escreveu:
@elvispdosreis https://github.com/elvispdosreis provide me a bitbucket user, and I can forward you the code/link to my fork.
— Reply to this email directly, view it on GitHub https://github.com/opis/database/issues/95#issuecomment-1485076775, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUPOJ47LE23DWFKG7UBHEDW6GHHFANCNFSM5UUQU3IA . You are receiving this because you were mentioned.Message ID: @.***>
you should be able to fork bitbucket.org:ekomurz/database now