bestit / flagception-sdk

A simple and powerful feature toggle library for php.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flagception is not compatible with PHP 8.1

dkreuer opened this issue · comments

Hello there!

Since PHP 8.1.0 is released it would be great if the library would be compatible with it as well.

I guess first steps would be to extend travis-ci and composer requirements - given that travis-ci still works (which I assume it does not!).
Otherwise how about switching to github actions?

Do you need help doing that? I'd be happy to volunteer.

This deprecation can also be addressed:

As of PHP 8.1.0, a class which implements Serializable without also implementing __serialize() and __unserialize() will generate a deprecation warning.

Edit: I see there is already a PR for this. Please merge it?

We have released a new version 1.8.0. The SDK should now be compatible with Symfony 6.0 and PHP 8.1.

If you encounter problems with the PHP 8.1 in the context of this release, please create a new issue.