Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP 8.1 deprecation warnings #72

Closed
JeroenDeDauw opened this issue Jun 11, 2022 · 4 comments
Closed

Fix PHP 8.1 deprecation warnings #72

JeroenDeDauw opened this issue Jun 11, 2022 · 4 comments

Comments

@JeroenDeDauw
Copy link
Member

Using PHP 8.1.6
PHP Deprecated: DataValues\Geo\Values\LatLongValue implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/runner/work/Maps/Maps/mediawiki/vendor/data-values/geo/src/Values/LatLongValue.php on line 22

@JeroenDeDauw
Copy link
Member Author

Also seen on the CI here:

PHP Deprecated: DataValues\BooleanValue implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/runner/work/DataValues/DataValues/src/BooleanValue.php on line 7

@JeroenDeDauw
Copy link
Member Author

Related: #70

@kosciuk
Copy link

kosciuk commented Jul 3, 2022

Hi, yep, I was trying to notify that. Another example:

Deprecated: DataValues\StringValue implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in vendor/data-values/data-values/src/StringValue.php on line 7.

@lucaswerkmeister
Copy link
Member

I think this was resolved with #70.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants