Skip to content

Fix issue raised by PHP 8.1 #486

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

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

remicollet
Copy link
Collaborator

1st commit fix bad param count raising funny message

Fatal error: Uncaught TypeError: Memcached::setMulti(): Argument #2 ($expiration) **must be of type int, int given** in /work/GIT/pecl-and-ext/memcached/tests/cas_multi.php:14````

2nd hides deprecation warning

@remicollet
Copy link
Collaborator Author

Using php 8.1.0 alpha1

=====================================================================
Number of tests :   95                81
Tests skipped   :   14 ( 14.7%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Tests passed    :   81 ( 85.3%) (100.0%)
---------------------------------------------------------------------
Time taken      :   13 seconds
=====================================================================

@krakjoe krakjoe merged commit 52a3840 into php-memcached-dev:master Jun 9, 2021
@remicollet remicollet deleted the issue-php81 branch June 9, 2021 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants